Additions:
====Streaming====
The xcat command is streamable. Input and output is created in streaming mode so there is no memory limit to how large the input or output documents can be.
The xcat command is streamable. Input and output is created in streaming mode so there is no memory limit to how large the input or output documents can be.
Additions:
||-r||Removes root element||
if -r is specified and no -w argument then if there is more then one file and/or more then one child of root then this produces an error.
if -r is specified and no -w argument then if there is more then one file and/or more then one child of root then this produces an error.
Deletions:
Note that the -r flag assumes that the xml source either comes from a file or is explicitly wrapped on a document node.
Additions:
xcat [ [[SerializationOptions serialization options]] ] [-w string|element ] [-r] [file ...]
||-w string ||Wraps each xml file with an element named "string"||
||-w element ||Wraps each xml file with the specified element||
Supports the standard [ [[SerializationOptions serialization options]] ]
[[Commands]]
||-w string ||Wraps each xml file with an element named "string"||
||-w element ||Wraps each xml file with the specified element||
Supports the standard [ [[SerializationOptions serialization options]] ]
[[Commands]]
Deletions:
-w string Wraps each xml file with an element named "string"
-w element Wraps each xml file with the specified element
-method output-method Changes the default output method for serialzation. Must be one of (xml,html,xhtml,text)
Additions:
xcat [-w string|element ] [-r] [-method output-method] [file ...]
-method output-method Changes the default output method for serialzation. Must be one of (xml,html,xhtml,text)
-method output-method Changes the default output method for serialzation. Must be one of (xml,html,xhtml,text)
Deletions:
Deletions:
Additions:
xcat [-w string|element ] [-r] [file ...]
Deletions:
Additions:
If the -r argument is specified then the root element is stripped from each file,
if no -w argument then only the first child is emited, otherwise all children of the root node is emited.
Note that the -r flag assumes that the xml source either comes from a file or is explicitly wrapped on a document node.
if no -w argument then only the first child is emited, otherwise all children of the root node is emited.
Note that the -r flag assumes that the xml source either comes from a file or is explicitly wrapped on a document node.
Deletions:
Additions:
xcat [-w string|element [-r]] [file ...]
If the -r and -w argument are both specified then the root element is stripped from each file before wrapping.
If the -r and -w argument are both specified then the root element is stripped from each file before wrapping.
Deletions:
If no -w argument is given but 2 or more files are specified then the first file is parsed and all files are wrapped
with the root element of the first file, discarding the root element of the 2nd through nth file.
Additions:
[[CommandsInternal]]
Additions:
====Description====
Concatenates one or more XML files into a single xml fiile.
-w string Wraps each xml file with an element named "string"
-w element Wraps each xml file with the specified element
If no files are specified, then stdin is read.
If no file or one file is specified and no -w argument is given, the file is parsed and serialized without wrapping.
If a -w argument is given the the file is wrapped with a container element.
If no -w argument is given but 2 or more files are specified then the first file is parsed and all files are wrapped
with the root element of the first file, discarding the root element of the 2nd through nth file.
Concatenates one or more XML files into a single xml fiile.
-w string Wraps each xml file with an element named "string"
-w element Wraps each xml file with the specified element
If no files are specified, then stdin is read.
If no file or one file is specified and no -w argument is given, the file is parsed and serialized without wrapping.
If a -w argument is given the the file is wrapped with a container element.
If no -w argument is given but 2 or more files are specified then the first file is parsed and all files are wrapped
with the root element of the first file, discarding the root element of the 2nd through nth file.
Additions:
xcat [-w string|element] [file ...]
Deletions:
Additions:
----
[[CategoryCommands]]
[[CategoryCommands]]
No Differences
No Differences
Additions:
====Name====
**xcat** combine and concatenate XML files to a single XML document
====Synopsis====
xcat [file ...]
**xcat** combine and concatenate XML files to a single XML document
====Synopsis====
xcat [file ...]
Deletions:
Additions:
USAGE: