Re: [xml-dev] wc in XML document
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 suchan 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
[email protected] +---------------------------+---------------------
Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099