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

RE: parse an xml file

Subject: RE: parse an xml file
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 3 Sep 2003 08:55:18 +0100
xml translate amp
> I am using xerces DOM parser to parse an xml file  and retrieve its
> Values 	to put into a new xml document.....while 
> retrieving value like &lt;
> &amp; 	(i.e. special characters) ....I am facing 
> problem....the DOM parser
> translate "&lt;" to "<" or for that matter "&amp;" "&" 
> ...which is not correct and I don't want that......so any 
> clue....input...idea????

What do you mean, "which is not correct"?

&amp; is the way you represent an ampersand character in an XML
document. Of course it is the job of the XML parser to translate &amp;
into an ampersand character - that's what XML parsers are for.

Michael Kay


 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.