Schema workflow

You can import an XML document that references a schema file, and you can specify a schema file in your Structured Application, to use for validating a document upon export to XML.

  1. For a specific XML document, you can include the path of the schema file in the XML using the attributes @noNamespaceSchemaLocation or @schemaLocation depending on whether your schema includes a target namespace or not.

  2. To specify a schema file for use in exporting XML, modify the structapps.fm file. Use the <Schema> element as part of the <XMLApplication> to provide the schema file path for export.

  3. Open the XML file in Adobe FrameMaker using a Structured Application. Edit it.

  4. Save the XML using a Structured Application. The <Schema> element in the structapps.fm file is output in the file and validation is performed against it.

In this workflow, a DTD is generated automatically as an intermediary file from the schema given in the XML document, and you do not modify it. However, you can also use a schema file to generate an EDD. See Generate an Element Catalog (EDD) from a Schema.