OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] wc in XML document

[ Lists Home | Date Index | Thread Index ]

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@explain.com.au  +---------------------------+---------------------

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






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS