RE: [xsl] isn´t this expression right pls help

Subject: RE: [xsl] isn´t this expression right pls help
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 11:39:08 +0100
> >> <xsl:variable name="count_p_s" 
> select="string-length(//section/p)"/>
> 
> Thanks Florent! And what would it be if I use XSLT 2.0? 

In 2.0 you can do

sum(//section/p/string-length())

Michael Kay
http://www.saxonica.com/

Current Thread