Subject: Re: Re: [xsl] Cannot process a result tree fragment as a node-set under XSLT 1.0 - My alternative don´t function From: "ALEXCONTINI@xxxxxxxx" <ALEXCONTINI@xxxxxxxx> Date: Thu, 17 Apr 2008 13:52:18 +0200 (MEST) |
Sorry, i donB4t 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@xxxxxxxxx Recibido: 17/04/2008 13:00 Para: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Asunto: Re: Re: [xsl] Cannot process a result tree fragment as a node- set under XSLT 1.0 - My alternative donB4t 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 Ahora tambiC)n puedes acceder a tu correo Terra desde el mC3vil. InfC3rmate pinchando aquC-.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Passing parameters to an , Michael Kay | Thread | Re: Re: Re: [xsl] Cannot process a, David Carlisle |
Re: [xsl] Passing parameters to an , Kannan | Date | Re: [xsl] Passing parameters to an , Abel Braaksma |
Month |