Description

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

XML namespace

<pct:schema_doc />

Parameters

Attribute Description Default value
file ‡ XML file to be generated No default value

† Only one of those attributes is mandatory ‡ Mandatory attribute

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

Parameters as nested elements

None

Examples

<PCTSchemaDoc file="doc/db.xml">
  <DBConnection 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.