[jdom-interest] Code Submission: org.jdom.output.HTMLOutputte r

James Strachan james at metastuff.com
Wed Nov 15 04:41:38 PST 2000


XHTML is XML compliant so supports CDATA declarations so the normal
XMLOutputter would do wouldn't it?

I specifically wrote HTMLOutputter purely because HTML can't handle CDATA.

J.

James Strachan
=============
email: james at metastuff.com
web: http://www.metastuff.com

----- Original Message -----
From: "Michael Skells" <mskells at aspirebanking.com>
To: <jdom-interest at jdom.org>
Sent: Wednesday, November 15, 2000 12:03 PM
Subject: RE: [jdom-interest] Code Submission: org.jdom.output.HTMLOutputter


> shouldnt this be XHTMLOutputter, and have HTMLOutputter for the non well
> formed HTML spec
>
> > -----Original Message-----
> > From: James Strachan [mailto:james at metastuff.com]
> > Sent: 10 November 2000 17:55
> > To: jdom-interest at jdom.org
> > Subject: [jdom-interest] Code Submission:
> > org.jdom.output.HTMLOutputter
> >
> >
> > I've attached a new file, org.jdom.output.HTMLOutputter.java
> >
> > I've found this useful for outputting JDOM Document or
> > Element fragments in
> > Servlets to HTML browsers. It derives from XMLOutputter to
> > override the
> > behavour of outputting CDATA instances; it outputs the
> > textual format of
> > CDATA sections rather than the whole XML CDATA expression.
> >
> > Can someone add this to CVS unless there are any objections?
> >
> > J.
> >
> > James Strachan
> > =============
> > email: james at metastuff.com <mailto:james at metastuff.com>
> > web: http://www.metastuff.com <http://www.metastuff.com>
> >
> >
> >
> > If you are not the addressee of this confidential e-mail and any
> > attachments, please delete it and inform the sender; unauthorised
> > redistribution or publication is prohibited. Views expressed
> > are those of
> > the author and do not necessarily represent those of Citria Limited.
> >
> >
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
>


If you are not the addressee of this confidential e-mail and any
attachments, please delete it and inform the sender; unauthorised
redistribution or publication is prohibited. Views expressed are those of
the author and do not necessarily represent those of Citria Limited.



More information about the jdom-interest mailing list