Skip to main content

split a XML file into pieces

Project description

xmlsplit

Cli utility for spliting a big XML file into smaller parts.

The breakpoint will be the element of depth one (below root) that does not fit in the specified maximum size. Each part created will have the same root element.

Usage:

xmlsplit size prefix [filename]

Eg:

xmlsplit 1000000 part_ mydata.xml

or:

cat mydata.xml | xmlsplit 1000000 part_

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xmlsplit-0.1.2.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

xmlsplit-0.1.2-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page