| Developed for advanced documentation students by | |
| David A. McMurrey | Jana Owens
Spring 2004 |
| For additional study materials, refer to the FrameMaker resource page. | Got a question about this tutorial? Post it in the FrameMaker FAQ |
This tutorial is provided for advanced documentation students on a free, as-is
basis, without guarantee of accuracy. If you find any errors or think we should
include other tasks, let us know!
This tutorial discusses the following topics:
Subsequent tutorials focus on tags, tables, anchored frames, graphics, templates, master pages, reference pages, cross-references, tables of contents, indexes, variable text, book building, and conversion techniques. These tutorials provide an overview of each topic discussed. If you required information about advanced FrameMaker topics, refer to the Adobe FrameMaker User Guide or Adobe FrameMaker Classroom in a Book for the current version of FrameMaker.
| |
Note: For the sake of brevity, we use an abbreviated style for menu commands throughout this lesson. For example, "Select File > New" means "Select New from the File menu." |
A structured document is a document that can be viewed in several ways: as an author, a publisher, or a viewer. SGML, XML, and HTML are examples of structured documents. XML is used in this tutorial to demonstrate the Structured FrameMaker feature.
Structured documents, such as XML files, are created using elements. When working with XML files, the element definitions and structural information is stored in a Document Type Definition (DTD). When working with structured document in FrameMaker, the element definitions and structural information is stored in an Element Definitions Document (EDD). The EDD also contains formatting and style information. When you create a structured document in FrameMaker, you must associate an EDD to the document. The EDD is usually created by an application developer and is outside the scope of this document; for more information about creating EDDs, refer to the Structured FrameMaker Developer's Guide that is distributed with FrameMaker.
This tutorial provides instructions for creating structured documents, inserting elements, adding information to a structured document, and saving a structured document as an XML file.
You cannot create a new structured document within FrameMaker without first creating an EDD. EDDs are usually created by an application developer and are outside the scope of this tutorial. For more information about creating EDDs, refer to Structure Document Developer's Guide that ships with FrameMaker 7.0.
To create a structured document using a template:
The Structure View provides a hierarchical representation of the document structure and shows the relationship of the elements that are currently used in the document.
To open the Structure View dialog box, click
located on the right side of the document window.
The Structure View dialog box appears.
| |
Tip: You can click the minus sign (-) to collapse elements and the plus sign (+) to expand elements. You can also move elements by selecting them and dragging them to a new location. |
The Element Catalog provides a list of all elements that are available for use within the structured document.
To open the Element Catalog and display all elements:

All elements for the current document are displayed in the Element Catalog.
To display element tags:
Place your cursor within the structured document.
When you place your cursor within the tags of a structured document, the list of valid elements change. These elements are displayed with a check mark within the Element Catalog. If you insert an element that is not valid, your document is no longer structured.
To insert elements:
and
| |
Tip: Although this attribute is optional (see Type: Optional Unique ID in previous dialog box), it is good pratice to use the attribute value within a structured document. You can use this value to identify the segment of text when searching large documents. |
To verify the structure of your document, you must validate it. Validating your document ensures that all constraints defined for your document have been met. A document is not structured if does not pass validation.
To validate a structured document:


You should receive the following message indicating that your document is valid.
The best way to save a structured document as an XML file using FrameMaker is to export the file into WebWorks Publisher Standard Edition. This application is shipped with FrameMaker, but installed separately. You must have WebWorks Publisher installed to complete this procedure.
To save a structured document as an XML file using WebWorks Publisher Standard Edition:




| |
Tip: You can change the default mappings by selecting a row and then selecting a value from the pull-down menu. For this procedure, the default settings are used. |


For more information about topics discussed in this tutorial, refer to
Information and programs provided by hcexres@io.com.