Progress® OpenEdge® Compilation Tools

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>
<style in="doc/db.xml" style="doc/SchemaDoc.xsl" out="doc/output.txt">
  <param name="basedir" expression="doc/MyDB"/>
</style>

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