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]

Re: Number of node in list from stylesheet



> 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

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