XPATH question

Subject: XPATH question
From: "Khalid Asad" <asad@xxxxxxxxxxxxx>
Date: Mon, 27 Mar 2000 22:29:03 -0800
I'm looking for an XSLT function (or equivalent technique) that I could use in transforming one XML document into another with the second document containing references back to elements in the original document. Some sort of XPATH function would be useful, so I could write
 
    <ref>
    <xsl:value-of select="xpath(.)"/>
    </ref>
 
which will create in the output document the xpath location of the matched node. I don't want to use id attributes, because I can't guarantee that the originating document's schema defines such attributes.
 
 
Khalid
 
Current Thread