xsl-list
[Top] [All Lists]

RE: Re: [xsl] Multiple elements condition

2007-08-27 10:18:18
Yes, indeed. I was too hasty, and failed to proof read.
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Florent Georges <lists(_at_)fgeorges(_dot_)org>
Sent:     Mon, 27 Aug 2007 19:15:51 +0200 (CEST)
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  Re: [xsl] Multiple elements condition

cknell(_at_)onebox(_dot_)com wrote:

  Hi

<xsl:template match="note[count(para) > 1]">

  note[para] is more readable IMHO.

      <xsl:for-each select="para">
        [...]
        <xsl:value-of select="para"/>

  I guess this would be select="." because of the for-each.

  Regards,

--drkm























      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


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




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