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!

--


System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to