xtmkheader

Section: User Commands (1)
Updated: 2002-10-26
Index Return to Main Contents

 

NAME

xtmkheader - create XML Table data having only a header

 

SYNOPSIS

xtmkheader [-a attribute(s)] [-l title] [-c comment] [-o OUTPUT] [-z]

 

DESCRIPTION

Creates or changes header information (attribute name, title, commment).

 

PARAMETERS

-a attributes
attribute names
-l title
title name
-c comment
comment

 

ENVIRONMENT OPTIONS

-o output filename
if a suffix of the filename is '.gz', the command automatically returns the output data in zip archive. When "-o" is not specified, the result will sent to standard output.
-z zip archive
compress the standard output to zip archive. When the option "-o" is not given and "-z" is specified, the output will be compressed as zip archive.

 

USAGE

Example 1. Create a header with Customer, Date, and Quantity as attribute information e.g. xtmkheader -a Cusotmer,Date,Quantity -o rsl.xt Output file -rsl.xt
<?xml version="1.0" encoding="euc-jp"?>
<xmltbl version="1.00">
<header>
<field no="1">
<name>Cusotmer</name>
</field>
<field no="2">
<name>Date</name>
</field>
<field no="3">
<name>Quantity</name>
</field>
<recCnt>0</recCnt>
</header>
<body><![CDATA[
]]></body>
</xmltbl>

Example 2. Create a header with Customer, Date, and Quantity as attribute, and a title. e.g. xtmkheader -a Cusotmer,Date,Quantity -l SampleHeader -o rsl.xt Output file -rsl.xt

<header>
<title>
SampleHeader
</title>
<field no="1">
<name>Cusotmer</name>
</field>
<field no="2">
<name>Date</name>
</field>
<field no="3">
<name>Quantity</name>
</field>
<recCnt>0</recCnt>
</header>
<body><![CDATA[
]]></body>

 

SEE ALSO

xtheader(1), xtmkdata(1) For complete documentation and tutorial of xtmkdata and other commands, please visit http://musashien.sourceforge.net.

 

BUG REPORT

If you find a bug in xtmkdata, please send an electronic mail to musashi@adm.osaka-sandai.ac.jp. Before sending a bug report, please verify that you have the lastest version of MUSASHI. Read this manual carefully to ensure the error is not caused by a quirk in the language.

 

AUTHORS

Yukinobu Hamuro, Naoki Katoh, Katsutoshi Yada, Stephane Cheung


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
ENVIRONMENT OPTIONS
USAGE
SEE ALSO
BUG REPORT
AUTHORS

This document was created by man2html, using the manual pages.
Time: 22:43:54 GMT, June 24, 2003