Revision [922]

This is an old revision of CommandXcat made by DavidLee on 2009-11-24 17:54:43.

 

Command xcat


Name

xcat combine and concatenate XML files to a single XML document

Synopsis

xcat [ serialization options ] [-w string|element ] [-r] [file ...]

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


Supports the standard [ serialization options ]

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



Commands
CategoryCommands

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki