This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Computing string-value of nodesets
- To: xsl-list at mulberrytech dot com
- Subject: Re: Computing string-value of nodesets
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 9 Nov 2000 11:57:04 GMT
- References: <000b01c049e3$3ddb9b20$0200a8c0@taras>
- Reply-To: xsl-list at mulberrytech dot com
I said (at some strange hour last night)
<xsl:for-each select="[nodeset]" >
<x><xsl:value-of select="string-length(normalize-space(.))"/>
</xsl:for-each>
of course, it might help to have a </x> at the end of the second line.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list