xsl-list
[Top] [All Lists]

Re: [xsl] Error: sequence of more than one item not allowed

2011-10-04 04:53:17
Can I specify the <xsl:if test="$item eq ???"/> to avoid

You probably want:

<xsl:if test="current-grouping-key() eq $item">

which tests if the value that groups all the <Formats> in the
current-group() is equal to $item...although without the bigger
picture its hard to say.  Your grouping key in (2) is unusual.


-- 
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--