Re: How to create DOMDocument from XML string.

2009-07-24 Thread Rupanu Ranjaneswar
,output); thanks & regardsrupanu --- On Fri, 7/24/09, Alberto Massari wrote: From: Alberto Massari Subject: Re: How to create DOMDocument from XML string. To: c-users@xerces.apache.org Date: Friday, July 24, 2009, 5:18 AM See the MemParse example for an example on how to parse an XML string,

RE: How to create DOMDocument from XML string.

2009-07-24 Thread Rupanu Ranjaneswar
domparser->parse(input); /// --- On Fri, 7/24/09, John Lilley wrote: From: John Lilley Subject: RE: How to create DOMDocument from XML string. To: "c-users@xerces.apache.org" Date: Friday, July 24, 2009, 9:28 AM Have you tried something like this: XN::

RE: How to create DOMDocument from XML string.

2009-07-24 Thread John Lilley
er.parse(inputSource); doc = parser.adoptDocument(); -Original Message- From: Rupanu Ranjaneswar [mailto:rupanu_...@yahoo.com] Sent: Friday, July 24, 2009 2:57 AM To: c-users@xerces.apache.org Subject: How to create DOMDocument from XML string. Hi , I was able to resolve the previous issue s

Re: How to create DOMDocument from XML string.

2009-07-24 Thread Alberto Massari
See the MemParse example for an example on how to parse an XML string, and DOMPrint to see how to force a specific encoding when saving to a file. Alberto Rupanu Ranjaneswar wrote: Hi , I was able to resolve the previous issue searching in the mail archieves.However UTF-16 to UTF-8 transcodin

How to create DOMDocument from XML string.

2009-07-24 Thread Rupanu Ranjaneswar
Hi , I was able to resolve the previous issue searching in the mail archieves.However UTF-16 to UTF-8 transcoding doesn't seem to be working. I have a XMl string  (whole content of an XML file), please tell me how do i create a DOMDocument out of it. parse function of XercesDOMParser doesn't seem