cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Mikhienko <Yury.Mikhie...@mobicomk.ru>
Subject Re: serializing the <br/>, <img/> elements
Date Thu, 03 Jul 2003 16:28:14 GMT

Very difficult include the HTML content as XML from datastore into document without jTidy
hence.
:(((((

> Simple answer: because that's HTML :-)
> 
> You can use the <serializer type="xhtml"/>. It's an XMLSerializer, but Xalan 
> has a logic to recognize whether it's XHTML or not (I guess by the root 
> element). You should get <br /> then.
> 
> Joerg
> 
> Yury Mikhienko wrote:
> > Hi all!
> > 
> > The one more question:
> > 
> > Why HTMLSerializer serialize the <br/> element as <br>?
> > Can I change this?
> > 
> > Thanks!
> 

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message