Evening
I'm transforming mucky HTML into dazzlingly clean XHTML using HTML::TreeBuilder. I was using the library version of HTML Tidy before, but it didn't give me fine-grained enough control over the transforms. However, one thing I did like about Tidy was that it produces gorgeously formatted source XHTML, with options for indenting and the like.
HTML::Element, which HTML::TreeBuilder uses does produce very acceptably formatted HTML, but its 'experimental' as_XML method doesn't cut the mustard as far as the formatting goes. I had a poke around CPAN for a XML formatting module, but couldn't see anything likely.
I'd love your suggestions as to how to get make my XHTML just as beautiful on the outside as on the inside...
Thanks
ViceRaid
In reply to X(ht)ML Source Formatting by ViceRaid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |