[Home] [By Thread] [By Date] [Recent Entries]


Dave Pawson wrote:

Has anyone implemented a wc for an XML document please?
We are looking at estimating based on instance processing,
XML through to braille, and wc is one basis for such
an estimation.

I wrote 'xmlwc' some time ago for the TclXML package.  It's part of the
distribution, in the examples directory.  As such, it is a SAX(-like), streaming
application.

xmlwc is based on the Unix 'wc' command, and allows you to count words,
characters, bytes and/or lines.

HTHs,
Steve Ball


---


Steve Ball            |   XSLT Standard Library   | Training & Seminars

Explain         |     Web Tcl Complete      |   XML XSL Schemas

http://www.explain.com.au/ |      TclXML TclDOM        | Tcl, Web Development

Steve.Ball@e...  +---------------------------+---------------------

Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member