T
Terry Olsen
I'm writing a program that imports sometimes large XML files. I'm
duplicating another program that does this. I have found that the other
program will import & display the data almost instantly, no matter how large
the XML file. However, when using the XMLDocument.Load function, it takes
anywhere from 15-30-45 seconds before I see any data.
I've done some tests and it's the initial loading of the XML document that
takes all the time. Once loaded, the XMLDocument is pretty responsive to
selecting nodes and reading text. I've tried switching from using the
XMLDocument to using the XMLTextReader but I still have the same delay on
loading.
Is there a quicker method for stepping through an XML document sequentially?
Can I turn off XML Verification?
Thanks.
duplicating another program that does this. I have found that the other
program will import & display the data almost instantly, no matter how large
the XML file. However, when using the XMLDocument.Load function, it takes
anywhere from 15-30-45 seconds before I see any data.
I've done some tests and it's the initial loading of the XML document that
takes all the time. Once loaded, the XMLDocument is pretty responsive to
selecting nodes and reading text. I've tried switching from using the
XMLDocument to using the XMLTextReader but I still have the same delay on
loading.
Is there a quicker method for stepping through an XML document sequentially?
Can I turn off XML Verification?
Thanks.