[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XML to "HTML"
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: David Carlisle <davidc@nag.co.uk>
- Date: Mon, 23 Nov 2009 13:59:59 +0000
>>They also requested that if I use a tag that takes bodies but the body
>>is empty to not write it as <tag/>
>>Example
>> <P/> should be written as <P></P> .... although I think I can
>>waffle on this one.
>
> That's the one that is perhaps most important to fix, if you use
> /> syntax with things served as text/html then things will go wrong.
Just to add to that - if you use the html or xhtml output method then
you'll get <p></p> and not <p/> (which is what you'd get with the xml
output method), so there's nothing to fix as such, the serialiser will
do the right thing for you.
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]