I am using MSXML3 and here is an example from the MSXML3 documentation on this:
------------------
You can also load an XML file as a string using the loadXML method.
XMLDoc.loadXML("<customer><first_name>Joe</first_name>
<last_name>Smith</last_name></customer>")
------------------
in my case, i am not hard-coding 6MB worth of data into the string parameter to load. Instead I am loading a variable which holds a 6MB XML file.
Your thoughts and suggestions are appreciated.
Regards,
Newsha
-----Original Message-----
From: Uche Ogbuji [mailto:uche.ogbuji@fourthought.com]
Sent: Wednesday, January 24, 2001 3:14 PM
To: Newsha Makooi
Subject: Re: XML DOM Obj size limitations?
> Newsha Makooi wrote:
>
> Dear all,
>
> What is the XML DOM Objects' size limitations (if any)?
>
> When attempting to load a well-formatted XML string
> (DOMObj.loadXML(myXMLStrin)) of 6MB or bigger, the loadXML fails. Is
> there a particular reason for this? Is my XML too big to load? Is
> there a size limitation at all?
>
> All response and thoughts on this are appreciated.
I got this message, so I'm guessing maybe you're using 4DOM? But there
is no such thing as DOMObj.loadXML(myXMLStrin) in 4DOM.
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python