xml2xt(1)

NAME
xml2xt - comvert from XML to XML Table

SYNOPSIS
xml2xt -k pathname of xml file -f list of attributes [-S a list of elements] [-i input filename] [-o output filename] [-z]

DESCRIPTION
This command converts an xml file to an xmlTable file.

PARAMETERS

-k pathname of xml file
    pathname of xml file acting as record unit

-f list of attributes
    a list of elements which is output as attributes in xmlTable file.

-S a list of elements
    the character which replaces space

-i input filename
    Specify the input filename for this command. If a suffix of the filename is '.gz', the command automatically unzip it beforehand. When this parameter is omitted, standard input (usulally keyboard) is regarded as input file.

-o output filename
    Specify the output filename for this command. If a suffix of the filename is '.gz', the command automatically zip the output data. When this parameter is omitted, standard output (usulally display) is regarded as output file.

OPTIONS

-z  compress the standard output by gz: When -o is omitted and this option is specified, the command output the result zipped.

EXAMPLE

 xml2xt -k /purchase/customerID/date/row -f brandname,quantity,amount -i dat.xml -o rsl.xt

 xml2xt -k /purchase/customerID/date/row -f /purchase/customerID@value,brandname -i dat.xml -o rsl.xt

 xml2xt -k /purchase/customerID/date/row -f brandname%n,quantity%f,amount -i dat.xml -o rsl.xt

SEE ALSO
xt2xml(1), xt2txt(1), txt2xt(1)

WEB PAGE
http://musashi.adm.osaka-sandai.ac.jp

BUG REPORT
musashi@adm.osaka-sandai.ac.jp

AUTHORS
Yukinobu Hamuro,Naoki Katoh,Katsutoshi Yada