xsl-list
[Top] [All Lists]

Re: [xsl] Re: filtering problem

2010-06-19 17:24:54
On 19/06/2010 19:12, Adrian Herscu wrote:
<xsl:template match="command[(_at_)failed=true()]">

You need to make sure this template only fires for the first command with @failed=true. For example

<xsl:template match="command[(_at_)failed=true()][generate-id(.)=generate-id(@firstFailure)]">

But why are you using XSLT 1.0 with vendor extensions? If you can use Xalan, then you are almost certainly in an environment where you could use XSLT 2.0.

Michael Kay
Saxonica

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>