Next in thread → Next in month →

Re: DOCBOOK-APPS: Looking for "swc"

From
Steve Ball <>
Date
2002-02-25T23:17:57+00:00
ID
Thread
Re: DOCBOOK-APPS: Looking for "swc"
Bernd Kreimeier wrote:
> I need an SGML/XML-aware version of wc to count words, lines, etc.
> directly onm SGML source. I used some db2txt right now, is there a
> a direct way to do this (in the way of sgrep)?

I wrote 'xmlwc' (attached) as an example program for TclXML.
Takes the same command line parameters as the Unix wc
command.

To run it you'll need ActiveState Tcl -
http://aspn.activestate.com/ASPN/Downloads/ActiveTcl/

HTHs,
Steve Ball

-- 
Steve Ball            |   XSLT Standard Library   | Training & Seminars
Zveno Pty Ltd         |     Web Tcl Complete      |   XML XSL Schemas
http://www.zveno.com/ |      TclXML TclDOM        | Tcl, Web Development
  +---------------------------+---------------------
Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099
Next in thread → Next in month →