This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Number of node in list from stylesheet
- To: xsl-list at mulberrytech dot com
- Subject: Re: Number of node in list from stylesheet
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 23 May 2000 13:47:14 +0100 (BST)
- References: <20000523122931916.AAA438.501@pcfue9>
- Reply-To: xsl-list at mulberrytech dot com
> 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