xsl-list
[Top] [All Lists]

Re: Re: [xsl] Cannot process a result tree fragment as a node-set under XSLT 1.0 - My alternative don´t function

2008-04-17 04:52:47
Sorry, i don´t understand. Can you to explain?

<xsl:variable name="filter">
 <xsl:for-each....  //Recurso[condition]    (condition call to one 
template!!)

</xsl;for-each>
</xsl:variable>

<xsl:variable name="total" select="count(x:node-set($filter)/*)"/>

Thank you very much,
Alexander


----Mensaje original----
De: davidc(_at_)nag(_dot_)co(_dot_)uk
Recibido: 17/04/2008 13:00
Para: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Asunto: Re: Re: [xsl] Cannot process a result tree fragment as a node-
set under XSLT 1.0 - My alternative don´t function

Sorry, that was garbled, even by my standards.
try again:




If you have access to x:node-set (most xslt 1 systems other than
mozilla have it) then it's easy. just

<xsl:variable name="filter">
 <xsl:for-each....

</xsl;for-each>
</xsl:variable>

<xsl:variable name="total" select="count(x:node-set($filter)/*)"/>


If you haven't got node-set then it's a bit less convenient.

David


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




Ahora también puedes acceder a tu correo Terra desde el móvil.
Infórmate pinchando aquí.



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