RE: LoadXML troubles!

here is some example code... maybe you are using it incorrectly?

var xmldoc = new ActiveXObject("microsoft.xmldom");
xmldoc.loadXML("<books/>");
bookelem= xmldoc.createElement("book");
booknode= xmldoc.documentElement.appendChild(bookelem);
booknode.setAttribute("name","Introduction to XML");
booknode.setAttribute("price","22.00");

-----Original Message-----
From: Jair Santos [mailto:jair_santos@hotmail.com]
Sent: Tuesday, May 23, 2000 18:10
To: www-dom@w3.org
Subject: LoadXML troubles!


Hello!

I'm making an ISAPI DLL that parses an XML file to retrieve the XML data in 
a repository. I'm using the MSXML parser, using IXMLDOM structures. Well, I 
send the XML file as string parameter to this DLL and I'm trying load it 
using the "loadXML" method. I'm beign some troubles with this loading and I 
really don't know what's the matter? Anyone haven't this trouble yet?

Thanks for reading,
Jair.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Received on Tuesday, 23 May 2000 10:48:38 UTC