Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

=?iso-8859-1?Q?RE:_=5Bxsl=5D_isn=C2=B4t_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
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords