General discussion

Locked

processing a large XML file

By ivorytower ·
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 ?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

DOM or SAX2

by Ed Woychowsky In reply to processing a large XML fi ...

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.

Collapse -

processing a large XML file

by ivorytower In reply to DOM or SAX2

would it be possible to share the exceptionHandler code ? thanks

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums