Subject: RE: resolving entities From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Wed, 22 Dec 1999 14:28:58 -0700 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
resolving entities, Clay_Rowland | Thread | RE: resolving entities, Nicolas DELAHAYE |
Re: xlink w/ xslt and dom, Nikita Ogievetsky | Date | Re: X-Link query, Nikita Ogievetsky |
Month |