XmlUtils.unmarshallFromTemplate method for construct docx
Posted: Tue Nov 25, 2008 2:53 pm
Hi,
i'm working to develop a converter from html to docx in j2ee application.
I like the method XmlUtils.unmarshallFromTemplate for construct my docx.
But i don't know the correct syntax for generate base elements.
For example, this code is incorrect:
Can someone help-me??
Thank's in advance
Fiorenzo
i'm working to develop a converter from html to docx in j2ee application.
I like the method XmlUtils.unmarshallFromTemplate for construct my docx.
But i don't know the correct syntax for generate base elements.
For example, this code is incorrect:
- Code: Select all
<w:p xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\">
<w:pPr>
<w:numPr>
<w:ilvl w:val="0" />
<w:numId w:val="5" />
</w:numPr>
</w:pPr>
<w:r>
<w:t>Level one item one</w:t>
</w:r>
</w:p>
Can someone help-me??
Thank's in advance
Fiorenzo