Andrew Welch wrote:
Very true, but then you have all the added nuances html, some of which
are undesirable (for example if you need to post-process your html, say
with a sax parser).
Sounds like you'll be post-processing it anyway.
perl -p -i.bak -e '{s/<(\w+)\/>/<$1><\/$1>/g;}' foo.xhtml
   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list