[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: wc in XML document
On Friday 16 September 2005 17:19, Dave Pawson wrote: > Has anyone implemented a wc for an XML document please? (I presume you refer to the unix/Linux command line utility `wc'.) > We are looking at estimating based on instance processing, > XML through to braille, and wc is one basis for such > an estimation. > > Word count is one of the few things that remain > constant between plain text and XML! 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?) Cheers, Frans
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|