xsl-list
[Top] [All Lists]

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

2007-06-27 03:39:28
<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/



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