Re: [xml-dev] An elegant implementation of an XML graph traversal

From
Chris Burdess <>
To
Richard Salz <>
Date
2011-10-09T12:06:24Z
ID
<>
Thread
Re: [xml-dev] An elegant implementation of an XML graph traversal
Richard Salz wrote:
>> Recall that, while an XML document is sometimes a tree, in the 
>> general case it is a graph. And that graph may have loops.
> 
> Could you post an example of this?  I've never seen an XML document with 
> loops.

It would indeed be astonishing since the specification precludes it: http://www.w3.org/TR/REC-xml/#norecursion