Adobe 65030365 - FrameMaker - PC Developer's Manual page 50

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

6
T h e d e v e l o p m e n t p r o c e s s
Once FrameMaker is properly installed, you need to tell it where to find rules you'll write
and other information it may need. Collect this information in an application definition that
you can associate with the EDD or the markup document element.
At this point, you can create a simple application file, giving the application a name and
specifying the location of existing files, such as an EDD, DTD, and (for SGML structure
applications) the SGML declaration. Later in the development process, you'll need to include
other information in the definition.
(3) Create an initial EDD from your DTD, if you have one.
If you're starting with a DTD, choose File>Developer Tools>Open DTD to create an initial
EDD to see how the software translates your DTD with no help from your application. You
use this initial EDD during your analysis to see how you want to translate markup constructs
into FrameMaker constructs.
In the absence of read/write rules, FrameMaker translates:
Markup elements to FrameMaker elements of the same name—For SGML the
FrameMaker element names are receive initial capitalization; for XML the FrameMaker
elements receive the case found in XML
Markup attributes to FrameMaker attributes, assuming that attributes contain extra
information about their associated elements
entities to various constructs such as variables
The software produces a log file if it encounters any problems while processing your DTD.
(4) Create an EDD, if you're starting from scratch.
If you're in the situation of having neither a preexisting EDD nor a preexisting DTD, you
need to create one or the other before you can create a structure application. Because of
the richer semantics available in an EDD, you should first create an EDD and its associated
FrameMaker template and then continue the development process from there.
If you're starting from scratch and the sample documents you intend to use are unstructured
FrameMaker documents, you may want to do this step in conjunction with the next major
task.
(5) Create an initial DTD from your EDD.
If you have a preexisting EDD, choose File>Developer Tools>Save As DTD to create an
initial DTD to see how the software translates your EDD with no help from your application.
The DTD has element and attribute definition list declarations corresponding to the element
and attribute definitions in the EDD. The software reads through the EDD, processing the
elements and their attributes one at a time. For each definition, the software
creates a markup element of the appropriate type
produces an attribute definition list declaration for any element that has defined attributes
Creating a Structure Application
32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents