Omitting Optional Elements And Attributes From The Default Dtd Declarations; Specifying The Data Content Notation On Export - Adobe 65030365 - FrameMaker - PC Developer's Manual

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

Advertisement

19
M o d i f i c a t i o n s t o t h e d e f a u l t t r a n s l a t i o n
For a summary of the FrameMaker graphic properties, see "Text of default graphics and
equations declarations" on page 300. For information on the rules used in this example, see
"element" on page 376, "is fm graphic element" on page 422, and "fm property" on
page 399.
Omitting optional elements and attributes from the default DTD
declarations
The default DTD declarations provided with FrameMaker may be more general than your
situation requires. If you create an initial version of your DTD from an EDD, it will always
include the full set of default declarations for all graphic and equation elements. If you don't
need all of this functionality, you may want to simplify the declarations.
For example, if your graphic elements are always created using FrameMaker's graphic
tools, you could remove these declarations:
<!ATTLIST graphic_element
dpi
impang
impby
impsize
sideways NMTOKEN #IMPLIED <!--1 if object turned sideways-->
xoffset
yoffset
>
If you do so, FrameMaker won't produce or expect values for these attributes.
SGML: In the above example, the dpi and sideways attributes are specified in
XML using NMTOKEN for the numeric value. For SGML you can use NUMBER.

Specifying the data content notation on export

When the software writes an external data entity for a graphic or equation element, it uses
the first eight characters of the facet name as the data content notation by default. If the
graphic or equation element has only internal FrameMaker facets, it uses CGM as the data
content notation. Your markup declarations may use different data content notations. If so,
you can use the notation rule to associate a notation name with a facet or with general
anchored frames or equations. The notation rule is of this form:
element "gi" {
is fm graphic_or_equation element ["fmtag"];
writer type ["name"] notation is "notation_name";
}
where gi is a generic identifier, graphic_or_equation is one of the keywords graphic
or equation; fmtag is an optional FrameMaker element tag; type is one of the keywords
anchored frame, facet, or equation; name is a facet name you supply only if type
Structure Application Developer's Guide
NMTOKEN #IMPLIED <!--ignored if impsize specified-->
CDATA
#IMPLIED <!--import angle in frame in deg-->
(ref|copy) #IMPLIED <!--import by reference or copy-->
CDATA
#IMPLIED <!--import size (width & height)-->
CDATA
#IMPLIED <!--horizontal offset in frame-->
CDATA
#IMPLIED <!--vertical offset in frame-->
313

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents