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

Free Support Forum - aspose.com

Add customer-defined Name Space(ns) or XML schema to the generated file

We have just purchased your ASPOSE.WORDS for Java.

and we try to generate a new MS Word 2003 file from DB using Aspose.word for java, and try to add customer-defined XML tags by paragragh, but it seems to need to add customer-defined Name Space(ns) or XML schema to the generated file. How can we do it?

LIN Jiale

Hi

Thanks for your request. I think, in your case, you should create a template in MS Word and add all required namespaces into this template. Then you should simply use this template as a start document for generating your documents.

Hope this helps. Please let us know if you need more information, we are always glad to help you.

Best regards,