[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:key confusion
Hi I am pretty new to the world of xslt and confused with the key function. How do I reference a nodelist that is made up of nodes with no text or attributes? How do I check to see if there are any nodes in a key? I have got the following lines to work, but don't know if they are the correct way to do what I want <xsl:key name="pumptestlist" match="pumptest" use="position()"/> <xsl:choose> <xsl:when test="count(key('pumptestlist', '1'))>0"> Thanks in advance for your help Ian 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
|