|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ID()
Hi Mark,
at first the function name is "id()" (lower case). It searches the whole tree. But there must exist a DTD for this tree, which declares the attribute ID as ID (http://www.xmlfiles.com/dtd/dtd_attributes.asp). If you don't want to have a DTD, you can set up a key <xsl:key name="nodes" match="node" use="@ID"/> as top-level. And later in a template <xsl:apply-templates select="key('nodes', 'abc')"/> which applies templates to all <node>'s with a value of ID attribute of 'abc'. Regards, Joerg Mark Micallef wrote: Hi, 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








