XmlSplit Tool   XmlSplitTM A Command-line XML Splitter For Large Files

XmlSplit provides several methods that split XML of any size into multiple, smaller, well-formed XML files. Numerous parameters give control over where to split the XML. It is a command-line XML splitter run from a script or Windows command prompt. Included is a GUI wizard that automatically generates scripts.

XmlSplit is ideal for dividing huge XML files for database import, ETL scenarios or any process that requires smaller XML files.

Download XmlSplit Free Trial Order XmlSplit
split xml wizard
Version 2.0 Released November 2, 2011. Script Wizard Added. Details...
Customer Testimonials
"Xponent's XmlSplit product solved a problem I had importing these large XML files..."   more testimonials...
Split Every nth Element

The splitter creates a new split file every nth element at the specified depth.

Split When An Element Name Changes

Creates a new split file when the name of an element at the specifed depth changes.

Split When The Value Of Specified Attribute Changes

The splitter creates a new split file upon change in value of the attribute in an element at the specifed depth.

Split When Namespace Changes

Creates a new split file when the namespace in scope changes.

Split When a Comment, CDATA or ProcessingInstruction Occurs

Accepts a list containing any of these node types and creates a new split file when one of the listed node types occurs and optionally contains specified text.

Powerful Parameters

Depth. Specifies the element depth in the XML hierarchy for inclusion.

Root Element. Encapsulates each split file with the specified root, which may include attributes.

Include File. The splitter inserts the specified file in each split file. The include file may contain any XML node types that are appropriate at the insert position.

Append File. Inserts the specified file at the end of each split file. When used with an Include File, each split file may be nested within multiple parent elements.

Threshold Element. Specifies the element in the source file at which the splitter begins processing, skipping over all preceding nodes.

Encoding. Specifies the encoding used to write the split files. utf-8, utf-16 and iso-8859-1 are currently supported.

Byte Order Mark. Specifies whether the splitter writes a byte order mark in each split file. This is useful when feeding the split files into other software that may either require it, or fire an exception if it occurs.

How Does It Work?

XmlSplit uses an XmlReader to read and parse the input XML document. It evaluates the input parameters when each node is read to determine if the node is to be written to the current split file or a new split file created. Auto-numbered split files are named based on an output file parameter.

The splitter may be called from Powershell, Windows Script Host or Windows command.

XmlSplit will split XML files of any size, and was successfully used by a New Jersey consulting firm to divide a single XML file 60 Gigabytes in size.


System Requirements

Windows XP, Windows 2000, Windows Server 2003, Windows Vista, Windows 7



copyright © 2008-2011. Xponent LLC. All rights reserved.