|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Counting number of characters of sibling text node
Filipe Correia wrote:
Why not just <xsl:value-of select="string-length() + string-length(preceding-sibling::text())"/> ? Sorry for disapointing you, but that expression only works when you have no more than 2 text nodes, because string-length(nodeset) returns length of the first node string value in the nodeset, not a summarized length, of course. -- Oleg Tkachenko Multiconn International, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








