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

Free Support Forum - aspose.com

List of Nodes Returned by Document.selectNodes(xpath) Method guaranteed to be in Preorder Traversal Order? Aspose.Words for Java

For Aspose.words Java, for method Document.selectNodes(xpath), are the results guaranteed to be in preorder traversal order? There is no mention of the ordering in the javadocs.



We are working on your query and will get back to you soon.


Yes, it should be in the Preorder Traversal Order.
However, If you may find that it is not so for some documents; then please ZIP and upload that particular Word document and source code to reproduce the issue on our end.

Awesome, great to know. Thank you!