in reply to Converting very nested XHTML to XML

It really depends on what your source file looks like, and on what quirks it needs. Sometimes it's best to choose the wrong parser for the right reason...

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re: Converting very nested XHTML to XML