See the MemParse sample. While it uses a SAX parser, the technique is
the same for DOM.

________________________________

From: Mannion, Enda [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 23, 2007 12:28 PM
To: [email protected]
Subject: Creating DOMDoc from string



Hi,

 

I have a string that contains an XML doc, how can I create an instance
of the DOMDocument class using this string.

 

Is there a constructor to do this? I can not use the DOMParser to read a
file in this case.

 

 

Thanks,

Enda

Reply via email to