Re: Number of node in list from stylesheet

Subject: Re: Number of node in list from stylesheet
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 23 May 2000 13:47:14 +0100 (BST)
> Later, in a template (assuming the month name is in $month):

>   <xsl:value-of select="$months[@name=$month]"/>

You mean't I think "$months/month[@name=$month]" but neither of them are
allowable as months is a result tree fragment, and you can not query
into RTF. You need to use the node-set extension provided by most
systems (or use document() instead of a variable.)

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread