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

Free Support Forum - aspose.com

Reading a Document Programmatically

I’d like to import a Word Document using Aspose.Words and write XML. Is this possible?

What I was thinking is Aspose.Words would open the document, like this one:

New Document
This is text

So it would look at this and read:

.Text =“New Document”
.Style=“Header 1”

And based on that I could write to an XML document

Can Aspose.Words do this?

Thank you for your interest in Aspose.Words. Yes of course you can achieve this using Aspose.Words. Please see the following link to learn more about Aspose.Words.Document object model.
And the following link to learn how to extract document nodes.
I hope this information could help you.
Best regards.