Discussion Locked

processing a large XML file

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm looking for the best way to process a very large XML file ? I recieve a flat file and transform it in XML using XSLT. The resultant XML file needs to be validated, parsed etc..Any tips ?

2 replies

by ed woychowsky

Unfortunately the XML documents that I use aren?t more than a thousand or so nodes, but I use the MSXML DOM and check parseError property to determine if there was a problem with the document. For large XML documents, SAX is a better idea, you?ll need to create a parse exception handler to determine if the document isn?t well formed. You should be able to find plenty of examples of this. Hope this helps.

This discussion is closed to new replies.