PCTSchemaDoc - niandy/pct GitHub Wiki
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.
<pct:schema_doc />
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 PCTConnection.
None
<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.