Computing word count in XML documents

Uche Ogbuji has a tip on using XSLT with the EXSLT extensions to get the word count of a XML document.

More like this: .