XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML to "HTML"

>>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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS