RE: resolving entities
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format