xt2xml(1)

NAME
xt2xml - convert from XML Tabl to XML

SYNOPSIS
xt2xml [-k attribute list] [-L row tagname] [-R root tagname] [-n] [-q] [-i input filename] [-o output filename] [-z] [-T directory of work file]

DESCRIPTION
This converts xmlTable file to xml file.

PARAMETERS

-k attribute list
    attributes to be nested:attribute name [option]

-L row tagname
    tag representing a line:attribute name [option]

-R root tagname
    specifes a root tagname

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

-T directory of work file
    Specify the directory name for temporal files used in this command.

OPTIONS

-n  NULL値出力: このオプションを指定しなければNULL値のデータはXML要素として出力されない

-q  the transaction of sequential: When this option specified with -k parameter, the command process the input data following the original sequence of the lines, instead of processing after sorting the field specified by -k parameter.

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

EXAMPLE

 xt2xml -i dat.xt -o dat.xml

 xt2xml -k customerID,date -R purchase:year=2001 -i dat.xt -o dat.xml

 xt2xml -k customerID,date -R purchase:year=2001 -L row:no -i dat.xt -o dat.xml

SEE ALSO
xml2xt(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