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

Free Support Forum - aspose.cloud

Using the PHP API To Translate a Node Id

I am using the SearchRequest function to search for text in a document.

This is working, but I would like to identify the type of node returned e.g.
“NodeId”: “” => sections/0/body/tables/0/rows/2/cells/3/paragraphs/2 …

Is there a way to use the PHP API to turn a node id into a path like the one above?

The would be really helpful from a debugging point of view.


You may please check the GetParagraphsWithoutNodePath API method to translate nodeid. Hopefully, it will help you accomplish the requirement.