3 ms·Another option is to run the source through Tidy with XHTML output and then treat it as XML.by eli 17y agoAnother option is to run the source through Tidy with XHTML output and then treat it as XML.