How would I display a simple recursive relationship in XSL starting from the node that doesn't have a idref?
Posted on 2009-04-08
I have an XSD file as a schema and a sample XML file. I am trying to get the XSL to display information about rank or position by following the relationship chain by using the id and the idref in the files. Basically I'm trying to display the information so that the node without a idref will be listed first, and then the node that references the node without a ref will be listed second, and then the node that references the second will be listed third. For example,
basically I want to display cat c1 first, c2 second, and c3 third by following the id, idref chain.