in reply to Re: X(ht)ML Source Formatting
in thread X(ht)ML Source Formatting
Yeah, the as_HTML method of HTML::Element does produce nicely formatted output, but the output is HTML rather than XHTML (which is HTML expressed in XML). Take a look at the W3C MarkUp pages for details of the differences. It's things like having to use lower-case, quote attributes, close tags, like:
<img src="pic.gif" alt="nice picture" />
closing the tags, instead of:
<IMG src=pic.gif alt="nice picture">
which is acceptable HTML, but not XHTML.
HTH
ViceRaid
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: X(ht)ML Source Formatting
by koku (Initiate) on Aug 18, 2003 at 13:21 UTC |