PHP DOMXml XPath of recursive Xpointer
Posted
by user256007
on Stack Overflow
See other posts from Stack Overflow
or by user256007
Published on 2010-04-15T09:40:22Z
Indexed on
2010/04/15
9:43 UTC
Read the original article
Hit count: 366
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 XPath resolver
cause I want to let the users go deeper into the recursive node through the Identifying IDREF (Hope I am able to make you understand).
So is there any better/liteweight solution ??
might be XPointer or XLink (I am not sure).
Any help ??
© Stack Overflow or respective owner