cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuri Gadow <yuri.ga...@ieee.org>
Subject RE: How to get HTML (not XHTML) from the HTMLSerializer (C2.0.1)
Date Wed, 10 Apr 2002 15:02:30 GMT
Indeed that is the question, unfortunately NS 4.X is still in common use
and does not understand tags written as <br/> or <textarea/>, (as do
many, still common, versions of IE.) I could certainly roll my own
serializer, wrapped around SAXON or something, but it seems a bit odd
that a framework like C2 would only support the most recent browser
versions (which is not a complaint, rather it's something that makes me
think I'm the one doing something wrong.)

Thanks for the feedback.

On Wed, 2002-04-10 at 08:03, du Plessis, Corneil C wrote:
> How does one get the HTMLSerializer to produce <br /> instead of <br/> ?
> 
> -----Original Message-----
> From: Bert Van Kets [mailto:bert@visitronics.be]
> Sent: 10 April, 2002 16:01
> To: cocoon-users@xml.apache.org
> 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:yuri.gadow@ieee.org>mailto:yuri.gadow@ieee.org]
> >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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> ______________________________________________
> 
> 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.
> 
> 
> ______________________________________________
-- 
Yuri Gadow 0x6D21BAAE


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message