xml splitter   XmlSplitTM A Command-line Tool That Splits Large XML Files

XmlSplit provides several, powerful methods that divide large XML of any size into multiple, smaller, well-formed XML files. Numerous parameters give control over where to split the XML. It has the same split features as XMLMax but is command-line driven and may be run from a script.

XmlSplit is ideal for dividing huge XML files for database import or for use by any process that requires smaller XML.

fast XML splitter large XML splitter
Sample Code(click image to enlarge)
xml split script
Testimonials
"Xponent's XmlSplit product solved a problem I had importing these large XML files..."   more...
Split Every nth Element

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 A Specified Attribute Changes

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

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. Inserts the specified file in each split file. The include file may contain any XML node types that are appropriate at the insert position.

Threshold Element. Specifies the element in the source file at which to begin 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 a byte order mark is emitted when each split file is written. 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.

XmlSplit may be called from Powershell, WinScriptHost and DOS batch files.

XmlSplit has no limit on the size of an XML file, and was successfully used by a New Jersey consulting firm to split a single XML file 90 Gigabytes in size.


System Requirements

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



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