[xsl] Number of characters in document

Subject: [xsl] Number of characters in document
From: Evyatar_Kafkafi <evyatar@xxxxxxxxx>
Date: Sun, 17 Dec 2000 15:12:45 +0200
Question: How do I (inside the XSL stylesheet) get the number of characters
in the whole XML document (or in a specific node)?

for example, if the XML document is:
<A>
	<B>
		<C>1</C>
	</B>
	<B>
		<C>1</C>
		<C>2</C>
	</B>
</A>

the number of characters in node A would be the length of the string
"<A><B><C>1</C></B><B><C>1</C><C>2</C></B></A>"


	Evyatar


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread