Subject: RE: resolving entities
From: "Nicolas DELAHAYE" <ndelahaye@xxxxxxxxxxxxxx>
Date: Thu, 23 Dec 1999 09:55:19 +0100
|
the entities of < and > are < and >
A+
Nicolas
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Mike Brown
> Sent: Wednesday, December 22, 1999 10:29 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: resolving entities
>
>
> > does anyone know of any simple way to resolve &, <, >, or other entity
> > characters inside of an xml document?
> >
> > for example:
> >
> > <Company>
> > <Name>Foobar & Goobar</Name>
> > </Company>
>
> That wouldn't be entity resolution. You have to have an entity before you
> can resolve it. What you want is called "cleanup" :) Do it by
> hand. There's
> no easy way for a parser to read the document and know for sure that an
> instance of the &, <, or > characters are intended to be just those
> characters, or markup. That's why you should make sure that any
> data you're
> putting into a PCDATA section has those characters properly encoded as
> entity references.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|