Skip to content
Gilles QUERRET edited this page Apr 3, 2015 · 6 revisions

PCTSchemaDoc task -- <pct:schema_doc />

Description

Creates XML documentation from database. This XML file is meant to be transformed using a XSL stylesheet, like this one. See examples below for a complete process. You can find an sample for sports2000 database here.

Parameters

Attribute Description Type Requirement Default value
file XML file to be generated File Required No default value

PCTSchemaDoc inherits attributes from PCT and PCTRun. However, PCTSchemaDoc must have one and only one PCTConnection.

Parameters as nested elements

None

Examples

<PCTSchemaDoc file="doc/db.xml">
  <PCTConnection dbName="MyDB" dbDir="base"/>
</PCTSchemaDoc>
<xslt in="doc/db.xml" style="doc/SchemaDoc.xsl" out="doc/output.txt">
  <param name="outputdir" expression="doc/MyDB"/>
  <param name="dbname" expression="MyDB" />
</xslt>

Creates an XML file (doc/db.xml) which is transformed using doc/SchemaDoc.xsl to produce HTML documentation in doc/MyDB directory.

Clone this wiki locally