[jdom-interest] bad boy tag
Frank Morton
fmorton at base2inc.com
Thu Oct 11 14:10:48 PDT 2001
> you might use CDATA instead ...
I have used CDATA before, but also cheated and just
changed all "<" to "<" entities in the html. Crude but
simple.
Frank
> On Thu, 11 Oct 2001, Mark Ayad wrote:
> > Hi All,
> >
> > <book>
> > <content>
> > <html><head></head><body><h2>Introduction</h2><p><img alt="bad boy
> > tag">There is a .</p></body></html>
> > </content>
> > </book>
> >
> > What is the best way to handle 'not well formatted html' within an xml
> > document.
> > My first choice is to cheat and just wrap the content as a comment
<!-- -->
> >
> > Or should I use a dtd to tell the parser that the element <content>
contains
> > not well formatted html ?
> >
> > Any example anyone.
> >
> > If this has been covered before <please forgive="me">
> >
> > Mark
> >
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> >
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
> >
>
> --
>
> Cybrarian Rök - CAFV administrator
> Auteurs & Associés SARL - BP106
> 74502 Evian cedex - F
> PERSO: http://auteurs-associes.com:443/~Cybrarian
> HOME : http://auteurs-associes.com
> EMAIL: cyb at popol.auteurs-associes.com
> --
> try me:be_cool(who);
> except (E_ANY) $war_utils:kill(who);
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
>
>
More information about the jdom-interest
mailing list