Revision [1847]

Last edited on 2012-06-13 15:30:03 by DavidLee
Additions:
||-stream port||Instead of writing files, stream each document to the specified port||


Revision [1829]

Edited on 2012-04-10 20:30:41 by DavidLee
Additions:
**xsplit** Splits an xml file into multiple files
Deletions:
**xsplit** Splits an xmlfile into multiple files


Revision [1825]

Edited on 2012-03-02 14:14:28 by DavidLee
Additions:
||-l,-list listfile||output each output filename to listfile as it is written||


Revision [1525]

Edited on 2010-11-09 07:56:46 by DavidLee
Additions:
||-nopi||Do not output processing instructions in split files||
||-nodtd||Do not output DTD instructions in split files||
Deletions:
||-noPI||Do not output processing instructions in split files||
||-noDTD||Do not output DTD instructions in split files||


Revision [1237]

Edited on 2010-02-15 10:28:38 by DavidLee
Additions:
||-w,-wrap string||Wraps each xml file with an element named "string"||
||-w,-wrap element||Wraps each xml file with the specified element||
||-c,-children children||Number of child elements to put in each file (default=1)||
||-n,-nowrap||No not wrap a root element around each element||
||-p,-prefix prefix|| Prefix string to use for creating filename. (default="x")||
||-s,-suffix suffix|| Suffix string to use for creating filename. (default="")||
||-e,-ext ext|| Extension to use for creating filename. (default=".xml")||
||-o,output dir|| Output to direcotry (default=".")||
Deletions:
||-wrap string
-w string|| Wraps each xml file with an element named "string"||
||-wrap element
-w element|| Wraps each xml file with the specified element||
||-children children
-c children|| Number of child elements to put in each file (default=1)||
||-nowrap
-n|| Do not wrap a root element around each element||
||-prefix prefix
-p prefix|| Prefix string to use for creating filename. (default="x")||
||-suffix suffix
-s suffix|| Suffix string to use for creating filename. (default="")||
||-ext ext
-e ext|| Extension to use for creating filename. (default=".xml")||
||-output dir
-o dir|| Output to direcotry (default=".")||


Revision [1128]

Edited on 2010-01-07 12:27:17 by DavidLee
Additions:
Implementation Note: xsplit is designed to work with large files. All processing is done in streaming mode on both input and output. This means xsplit can split up files with input *and output* exceed available memory. The side effect is that the options are limited. Arbitrary xpath expressions cannot be used to determine the split points or output files names. Consider combining with the [[CommandXQuery xquery]] or [[CommandXmove xmove]] command to further split files or rename once they are manageable size, and with [[CommandXmove xmove]] to rename the files to a more usable name based on information within the resulting file.
Deletions:
Implementation Note: xsplit is designed to work with large files. All processing is done in streaming mode on both input and output. This means xsplit can split up files with input *and output* exceed available memory. The side effect is that the options are limited. Arbitrary xpath expressions cannot be used to determine the split points or output files names. Consider combining with the [[CommandXQuery xquery]] command to further split files once they are manageable size, and with [[CommandXmove xmove]] to rename the files to a more usable name based on information within the resulting file.


Revision [1127]

Edited on 2010-01-07 12:26:35 by DavidLee
Additions:
xsplit [ [[SerializationOptions serialization options]] ] [options] [file]
====Options====
Deletions:
xsplit [ [[SerializationOptions serialization options]] ] [-w string|element] [-c children] [-n] [-p prefix] [-s suffix] [-e ext] [file]


Revision [1126]

Edited on 2010-01-07 12:24:24 by DavidLee
Additions:
||-noPI||Do not output processing instructions in split files||
||-noDTD||Do not output DTD instructions in split files||


Revision [1123]

Edited on 2010-01-07 11:01:17 by DavidLee

No Differences

Revision [1122]

Edited on 2010-01-07 11:00:57 by DavidLee
Additions:
||-wrap string
||-wrap element
||-children children
||-prefix prefix
||-suffix suffix
||-ext ext
||-output dir
Deletions:
||-wrap
||-wrap
||-children
||-prefix
||-suffix
||-ext
||-output


Revision [958]

Edited on 2009-11-24 18:56:05 by DavidLee
Additions:
xsplit [ [[SerializationOptions serialization options]] ] [-w string|element] [-c children] [-n] [-p prefix] [-s suffix] [-e ext] [file]
||-wrap
-w string|| Wraps each xml file with an element named "string"||
||-wrap
-w element|| Wraps each xml file with the specified element||
||-children
-c children|| Number of child elements to put in each file (default=1)||
||-nowrap
-n|| Do not wrap a root element around each element||
||-prefix
-p prefix|| Prefix string to use for creating filename. (default="x")||
||-suffix
-s suffix|| Suffix string to use for creating filename. (default="")||
||-ext
-e ext|| Extension to use for creating filename. (default=".xml")||
||-output
-o dir|| Output to direcotry (default=".")||
Supports the standard [ [[SerializationOptions serialization options]] ]
Deletions:
xsplit [-w string|element] [-c children] [-n] [-p prefix] [-s suffix] [-e ext] [file]
-wrap
-w string Wraps each xml file with an element named "string"
-wrap
-w element Wraps each xml file with the specified element
-children
-c children Number of child elements to put in each file (default=1)
-nowrap
-n Do not wrap a root element around each element
-prefix
-p prefix Prefix string to use for creating filename. (default="x")
-suffix
-s suffix Suffix string to use for creating filename. (default="")
-ext
-e ext Extension to use for creating filename. (default=".xml")
-output
-o dir Output to direcotry (default=".")


Revision [886]

Edited on 2009-11-24 11:57:53 by DavidLee
Additions:
-wrap
-w string Wraps each xml file with an element named "string"
-wrap
-children
-nowrap
-prefix
-p prefix Prefix string to use for creating filename. (default="x")
-suffix
-s suffix Suffix string to use for creating filename. (default="")
-ext
-output
-o dir Output to direcotry (default=".")
Deletions:
-w string Wraps each xml file with an element named "string"
-p prefix Prefix string to use for creating filename. (default="x")
-s suffix Suffix string to use for creating filename. (default="")


Revision [881]

Edited on 2009-11-23 07:05:45 by DavidLee
Additions:
[[Commands]]


Revision [880]

Edited on 2009-11-23 07:05:36 by DavidLee
Additions:
Implementation Note: xsplit is designed to work with large files. All processing is done in streaming mode on both input and output. This means xsplit can split up files with input *and output* exceed available memory. The side effect is that the options are limited. Arbitrary xpath expressions cannot be used to determine the split points or output files names. Consider combining with the [[CommandXQuery xquery]] command to further split files once they are manageable size, and with [[CommandXmove xmove]] to rename the files to a more usable name based on information within the resulting file.
Deletions:
Implementation Note: xsplit is designed to work with large files. All processing is done in streaming mode on both input and output. This means xsplit can split up files with input *and output* exceed available memory. The side effect is that the options are limited. Arbitrary xpath expressions cannot be used to determine the split points or output files names. Consider combining with the [[CommandXQuery xquery]] command to further split files once they are manageable size, and with [[CommandXrename xrename]] to rename the files to a more usable name based on information within the resulting file.


Revision [879]

Edited on 2009-11-23 07:05:07 by DavidLee
Additions:
If the -n flag is used (do not wrap children) then "-c 1" is presumed. Namespace nodes, if any, from the root element will be copied to each child element which will become the document root of each split file.


Revision [870]

Edited on 2009-11-23 04:12:57 by DavidLee
Additions:
Implementation Note: xsplit is designed to work with large files. All processing is done in streaming mode on both input and output. This means xsplit can split up files with input *and output* exceed available memory. The side effect is that the options are limited. Arbitrary xpath expressions cannot be used to determine the split points or output files names. Consider combining with the [[CommandXQuery xquery]] command to further split files once they are manageable size, and with [[CommandXrename xrename]] to rename the files to a more usable name based on information within the resulting file.


Revision [788]

Edited on 2009-09-16 08:02:18 by DavidLee
Deletions:
[[CommandsInternal]]


Revision [357]

Edited on 2009-01-03 07:12:37 by DavidLee
Additions:
[[CommandsInternal]]


Revision [231]

Edited on 2008-06-13 05:37:09 by DavidLee
Additions:
xsplit [-w string|element] [-c children] [-n] [-p prefix] [-s suffix] [-e ext] [file]
Deletions:
xcat [-w string|element] [-c children] [-n] [-p prefix] [-s suffix] [-e ext] [file]


Revision [230]

The oldest known version of this page was created on 2008-06-13 05:36:56 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki