Name

csv — Defines a CSV data source.

Synopsis

<csv [path="/path/to/dir"] [header="booleanValue"] [prefix="prefix"] [suffix="suffix"]/>
				

Description

This element defines a CSV data source, for now this data source its user for output only. This data source will create a file for each table in the metadata definition in the selected directory. The name of the generated files will be: prefix + tableName + suffix.

Attributes

prefix

The filename prefix used for the CSV files.

suffix

The filename suffix used for the CSV files.

header

Indicates if the generated files should have as first column the name of the columns. true will have the columns in the file, false otherwise.

path

The path in witch generated files should go.

Example

Example 14. CSV data source at output definition.

<project name="testProject">
	...
	<metadata>
		...
	</metadata>
	<output>
		<csv header="true" prefix="table" suffix=".csv" />
	</output>
</project>