Re: [xsl] Simple XML Diff

Subject: Re: [xsl] Simple XML Diff
From: Mark Anderson <mark.anderson@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jul 2008 16:57:17 +0100
I'm afraid I can't use extensions either. It has to work with most modern
browsers and I have no control over the client environment.

So it isn't possible to loop through all elements and attributes in an XML and
list all the elements attributes and their path?

e.g.
<nodeA att1="111">
 <nodeA1>AAA</nodeA1>
</nodeA>

Output:

/nodeA =
/nodeA/@att1 = 111
/nodeA/nodeA1 = FFF

This is the root of my problem, I don't know how to loop thorough everything
and get it's absolute path

Regards

Mark

Current Thread