[xsl] xsl:key confusion

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