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 ]

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";

And people say that XSLT is verbose.

Bob DuCharme   www.snee.com/bob       <bob@  
snee.com> weblog on linking-related topics: 


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

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