|
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.
|