We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Xmlns:wsp namespace in DOCX Converted XML

I am converting Docx to Wordml using Aspose word.
In java code I used LoadFormat.DOCX for loading the Docx and convert that into wordml using SaveFormat.WORD_ML.

After this conversion, I am processing the namespace tags.
In actual word 2003 xml document, I can see the below namespace
But DOCX converted XML document, I am not able to see the wsp namespace.

Please let me know what this namespace mean? and how to get the namespace in DOCX converted XML?why it is missing in DOCX converted XML?

Hi Muthulakshmi,

Thanks for your inquiry. When a document is converted to Word 2003 XML using MS Word, this namespace is inserted in output Word 2003 XML. Could you please share your requirements and test case here for our reference? We will then provide you more information on this.

Docx Save as word 2003 xml is having the wsp namespace tag, but Docx Converted to Wordml using Aspose is not having that tag.

why Wordml generated by Aspose is not having that wsp tag?
Hi Muthulakshmi,

Thanks for your inquiry. We are in communication with our product team about your query. We will get back to you soon.

Hi Muthulakshmi,

Thanks for your patience. We have received response from our product team. Please check following developer's comments.

“xmlns:wsp=http://schemas.microsoft.com/office/word/2003/wordml/sp2” is ISO29500 namespace which is used by MS Word to write new set of attributes/elements in the Open XML wordprocessingML format that shows up all over the place. I'm talking about RSIDs. The RSIDs element is used to allow applications to more effectively merge two documents that have forked. Aspose.Words does not write RSIDs to WML and that is why does not write this namespace.