[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: resolving entities

Subject: RE: resolving entities
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 22 Dec 1999 14:28:58 -0700
resolving xlink
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.