|
|
|
|
Table of contents
Structured and unstructured FrameMaker |
Structured and unstructured FrameMakerWhen you install FrameMaker, you actually install two products—structured FrameMaker and unstructured FrameMaker. Unstructured FrameMaker is the traditional, paragraph-based document processor. Structured FrameMaker was called FrameMaker+SGML and licensed separately in previous versions of FrameMaker. Since version 7, unstructured and structured FrameMaker are covered by a single software license, and you can switch back and forth between the two interfaces by changing a preference setting and restarting FrameMaker (Figure 1).
Your project requirements determine whether you need unstructured or structured FrameMaker. You can produce XML files from unstructured FrameMaker, but for most other XML-related tasks, you must use structured FrameMaker, as shown in the following table:
Unstructured FrameMaker allows you to create XML files from your regular, paragraph-based information. You can use the following methods to create XML files:
In either case, the XML file that’s produced contains a flat sequence of tags with no organization of elements into higher-level elements. The heading and body paragraphs are parallel to each other, and are not grouped into a higher-level element. See Figure 2.
To create XML with hierarchical, nested elements, as shown in Figure 3, you need to use structured FrameMaker. (For more information about hierarchy, see Scriptorium Publishing’s Structured authoring and XML white paper.)
It’s possible to create attributes in unstructured FrameMaker, but this requires you to set up special constructs, such as conditional text or markers, to embed the attribute information. You would then use special processing in WebWorks Publisher Professional to create the attributes. WebWorks Publisher Standard and the built-in Save As XML conversion cannot support this type of complex transformation. In structured FrameMaker, however, you can easily assign attribute values to elements and transfer those attributes to XML on conversion (Figure 4).
The remainder of this white paper focuses on integration of XML with structured FrameMaker, which enables you to create element-based content. You can automatically assign formatting to elements, and you can transfer information to and from XML.
Next page:
Copyright © 2008 Scriptorium Publishing Services, Inc. All rights reserved. |