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


And at first I thought Dave wanted to develop an XML water closet. 

>One approach is to write a bash script(or similar) that embeds 
>an XSL-T stylesheet that extracts all text nodes from an XML 
>document(modified identity transform), which the script subsequently 
>feeds into `wc'. (No?)

This is what I do when I'm checking the word count of articles. It gives me
the chance to use one of my favorite stylesheets: 

    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"/>

And people say that XSLT is verbose.

Bob DuCharme   www.snee.com/bob       <bob@  
snee.com> weblog on linking-related topics: 
http://www.oreillynet.com/pub/au/1191

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