|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Getting the XPath of a node
Hi All, Is there any way to get the XPath of a particular element and attribute in match template??? Say if I have following XML: <Person id="12345"> <Name>Dennis</Name> <Company>Netscape</Company> <Address>Mountain View</Address> <Email>dennis@xxxxxxxxxxxx</Email> </Person> ----The XSL to print XPath--- <xsl:template match="Company"> //Print the XPath of Company as /Person/Company </xsl:template> More templates corresponding to each element. How do I do this...any thoughts??? Thanks Dennis __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








