[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:key confusion

Subject: xsl:key confusion
From: "Ian Hord" <ian@xxxxxxxx>
Date: Thu, 2 May 2002 17:45:32 +1000
xsl key nodelist
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.