This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XPATH question


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
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]