xsl-list
[Top] [All Lists]

RE: parse an xml file

2003-09-02 23:30:21
How can I use this in a simple xml document parsing. I don't want to use xsl
transformation


-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of M. 
David Peterson
Sent: Wednesday, September 03, 2003 11:48 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] parse an xml file

Im assuming your transforming the XML file using an XSLT file.  If yes,
simply add this parameter to the <xsl:value-of> tag...

<xsl:value-of select="insert node" disable-output-escaping="yes">

Hope this helps!

M.David


From: "Sanghamitra Das" <sanghamitra(_dot_)das(_at_)itreya(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: [xsl] parse an xml file
Date: Wed, 3 Sep 2003 11:34:40 +0530

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????

Thanks in Advance
-Sanghamitra



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


_________________________________________________________________
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>