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?

Hi
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.
https://docs.aspose.com/words/net/aspose-words-document-object-model/
And the following link to learn how to extract document nodes.
https://docs.aspose.com/words/net/how-to-extract-selected-content-between-nodes-in-a-document/
I hope this information could help you.
Best regards.