Breaking large XML documents into chunks

Breaking large XML documents into chunks

Breaking large XML documents into chunks Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 478
  • Released: Mar 2, 2007

Breaking large XML documents into chunks Description

One of the few problems with using Python to process XML is the speed -- if the XML becomes somewhat large (>1Mb), it slows down exponentially as the size of the XML increases. One way to increase the processing speed is to break the XML down via tag name. This is especially handy if you are only interested in one part of the XML, or between certain elements throughout the XML.

This script contains a function that handle this problem. It uses the Sax reader from PyXML.
The In parameters are the XML as a string, the tag name that you want to build the DOM around, and an optional postition to start at within the XML. It returns a DOM tree and the character position that it stopped at.

Breaking large XML documents into chunks Keywords

Breaking large XML documents into chunks Bookmark

Hyperlink code:
Hyperlink for Forum code:

Breaking large XML documents into chunks Script Download Notice

Top 4 Download periodically updates information of Breaking large XML documents into chunks script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Breaking large XML documents into chunks torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Php XPath

... is a php class for searching an XML document using XPath, and making modifications using a DOM style API. Does not require the DOM XML PHP library. ...

phpXIedit

... based application to edit, validate and preview XML documents. This program gives you a structured view of the XML data. It has support for multiple XML formats: SVG, DocBook, XHTML and more. phpXIedit is written in PHP. ...

phpXMLDOM

... methods for accessing the nodes of an XML document using the W3C Document Object Model (DOM) Level 2 Core. phpXMLDOM does not require the PHP DOM XML extension. ...

XML Lexing

... work more with the form of an XML document than with the structural information it contains. For instance if you wanted to change a bunch of entity references or element names. Also, sometimes you have slightly incorrect XML that a traditional parser will choke on. In that case you want ...
Python

XML Check

... of text sections and size of the XML document. It's based on SAX so it can check huge documents without a problem. This class can validate if a document is well-formed XML, it uses a fast parsing ...