This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Number of characters in document
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Number of characters in document
- From: Evyatar_Kafkafi <evyatar at orsus dot com>
- Date: Sun, 17 Dec 2000 15:12:45 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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