PHP DOMXml XPath of recursive Xpointer
- by user256007
My xml document reflects an Object. as referential Recursion is possible in objects and arrays. I need to reflect that in reproduced XML Structure too.
Currently I am using Unique IDs to identify each node separately and a node like <recursion refer="IDREF"> and specifying the ID of the referenced Element.
But in This way I need My Own Custom…