This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]