Title: RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)

How does one get the HTMLSerializer to produce <br /> instead of <br/> ?

-----Original Message-----
From: Bert Van Kets [mailto:[EMAIL PROTECTED]]
Sent: 10 April, 2002 16:01
To: [EMAIL PROTECTED]
Subject: RE: How to get HTML (not XHTML) from the HTMLSerializer
(C2.0.1)


At 15:52 10/04/2002 +0200, you wrote:

>I don't think all members of the group were able to read your signed message.
>AFAIK <br/> is valid HTML unless you have a very old browser.
>Maybe serializing as text may help but if that changes the mime/type you
>are back to square one.

<br /> is accepted by most old browsers (as opposed to <br/> without the space)

Bert



>-----Original Message-----
>From: Yuri Gadow [<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]]
>Sent: 10 April, 2002 01:01
>To: Cocoon Users
>Subject: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)
>
>Specifically, how can one prevent empty tags (such as br or input) from
>being serialized as <br/> and <input .../>? Seems that HTMLSerializer
>utilizes a null transform for serialization, and passes in "html" as an
>OutputMethod, but Xalan kicks out the <x/> tags regardless. There was
>some discussion on the Xalan list about this, but it didn't (according
>to the archives) go anywhere...
>
>Thanks for any tips, and sorry for the RTFM question (but the FM for
>HTMLSerializer is somewhat empty.)
>
>--
>Yuri Gadow 0x6D21BAAE
>______________________________________________ Disclaimer and
>confidentiality note Everything in this e-mail and any attachments
>relating to the official business of Standard Bank Investment Corporation
>(Stanbic) is proprietary to the company. It is confidential, legally
>privileged and protected by law. Stanbic does not own and endorse any
>other content. Views and opinions are those of the sender unless clearly
>stated as being that of Stanbic.  The person addressed in the e-mail is
>the sole authorised recipient. Please notify the sender immediately if it
>has unintentionally reached you and do not read, disclose or use the
>content in any way.
>
>Stanbic can not assure that the integrity of this communication has been
>maintained nor that it is free of errors, virus, interception or interference.
>              _______________________________________________


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

______________________________________________

Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official business of Standard Bank Investment Corporation (Stanbic) is proprietary to the company. It is confidential, legally privileged and protected by law. Stanbic does not own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Stanbic.

The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally reached you and do not read, disclose or use the content in any way.

Stanbic can not assure that the integrity of this communication has been maintained nor that it is free of errors, virus, interception or interference.

             _______________________________________________

Reply via email to