|
Subject: RE: [xsl] counting characters in an XML document From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 25 Oct 2001 12:32:16 -0400 |
> Does anyone know how I can use XSL to count the number of > characters in an > XML document.
If you're only interested in characters within text nodes, then
count(string-length(/))
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] counting characters in an, Michael Kay | Thread | Re: [xsl] counting characters in an, Wendell Piez |
| Re: [xsl] How to read the encoding , David Carlisle | Date | Re: [xsl] Problem with substring-af, Jennifer Wrightsell |
| Month |