xsl-list
[Top] [All Lists]

Re: parse an xml file

2003-09-03 00:00:55
unfortunately I am unfamiliar with xerces...  I do seem to recall a method 
that is part of the xalan framework that does the same thing but its been a 
while, and it was something I read only in passing... im knee deep in the 
.NET XSL and XML implementation and don't have the opportunity at the moment 
to extend my knowledge base...

I do know there are a lot of xerces gurus out there an im sure when of them 
will be able to help...

sorry!

M.


----- Original Message ----- 
From: "Sanghamitra Das" <sanghamitra(_dot_)das(_at_)itreya(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, September 03, 2003 12:30 AM
Subject: RE: [xsl] parse an xml file


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



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



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