Re: Need to find element name of corresponding attribu
So basically assume the ID attribute is defined as CDATA and not ID.
<xsl:key name="id" match="*[@id]" use="@id"/>
then whenever you would have used id('foo') you can use key('id','foo') meaning the same thing, except the XSLT processor will collect up the id values rather than relying on a DTD to tell the XML parser to do it.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
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