I am trying to add a text in a paragraph and get the code from docx file.
I used this following code in my java application as shown below
- Code: Select all
org.docx4j.wml.Pict objWmlPicture = (Pict) XmlUtils.unmarshalString(sXmlData);
Where sXmlData data containts the xml that has added below.
I am getting the following exception " org.xml.sax.SAXParseException: The prefix "w" for element "w:p" is not bound."
Please advice me how to resolve this.
Thanks & Regards,
B.V.Suresh Babu. ...