Revision [1443]

Last edited on 2010-06-02 05:12:20 by DavidLee
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.


Revision [1442]

Edited on 2010-06-02 05:10:42 by DavidLee
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.
Deletions:
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.


Revision [922]

Edited on 2009-11-24 17:54:43 by DavidLee
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]]
Deletions:
xcat [-w string|element ] [-r] [-method output-method] [file ...]
-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)


Revision [878]

Edited on 2009-11-23 07:00:35 by DavidLee
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)
Deletions:
xcat [-w string|element ] [-r] [file ...]


Revision [783]

Edited on 2009-09-16 08:00:27 by DavidLee
Deletions:
[[CommandsInternal]]


Revision [391]

Edited on 2009-01-08 07:53:14 by DavidLee
Additions:
xcat [-w string|element ] [-r] [file ...]
Deletions:
xcat [-w string|element [-r]] [file ...]


Revision [390]

Edited on 2009-01-08 07:52:58 by DavidLee
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.
Deletions:
If the -r and -w argument are both specified then the root element is stripped from each file before wrapping.


Revision [389]

Edited on 2009-01-08 07:19:26 by DavidLee
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.
Deletions:
xcat [-w string|element] [file ...]
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.


Revision [352]

Edited on 2009-01-03 07:11:05 by DavidLee
Additions:
[[CommandsInternal]]


Revision [147]

Edited on 2008-05-09 16:38:28 by DavidLee
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.


Revision [146]

Edited on 2008-05-09 16:26:27 by DavidLee
Additions:
xcat [-w string|element] [file ...]
Deletions:
xcat [file ...]


Revision [120]

Edited on 2008-04-25 18:49:06 by DavidLee
Additions:
----
[[CategoryCommands]]


Revision [109]

Edited on 2008-04-25 17:24:43 by DavidLee

No Differences

Revision [108]

Edited on 2008-04-25 17:24:37 by DavidLee

No Differences

Revision [107]

Edited on 2008-04-25 17:24:27 by DavidLee
Additions:
====Name====
**xcat** combine and concatenate XML files to a single XML document
====Synopsis====
xcat [file ...]
Deletions:
USAGE:


Revision [106]

Edited on 2008-04-22 18:02:52 by DavidLee
Additions:
USAGE:


Revision [105]

The oldest known version of this page was created on 2008-04-22 17:48:45 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki