Properties To Identify Markers - Adobe 65030365 - FrameMaker - PC Developer's Manual

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

Advertisement

22
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
Using markup attributes and FrameMaker properties to identify markers
When translating FrameMaker marker elements to markup elements, by default
FrameMaker uses the markup attributes type and text. These correspond, respectively,
to the FrameMaker properties marker type and marker text. You can choose to have
FrameMaker use different attribute names or to not use one or both of the attributes
altogether.
To have FrameMaker not use one of these attributes, remove the attribute from the
definition of the corresponding markup element in the DTD, or drop the attribute on import.
When exporting a FrameMaker document, if the corresponding markup element does not
have one of these attributes defined, the software does not write a value for the attribute.
To rename these properties or attributes, use the following rule:
element "gi" attribute "attr" is fm property prop;
where gi is a generic identifier, attr is a markup attribute and prop is one of marker
type or marker text. For example, to have the markup element index become a
marker element of type Index and get its text from the term attribute, you could use the
following rule:
element "index" {
is fm marker element;
attribute "term" is fm property marker text;
}
and this element definition:
Element (Marker): Index
Initial marker type
With this rule and declaration, FrameMaker translates an Index element to a start-tag of
the form:
<index term="Some index text">
For information on the rules used in this example, see:
"element" on page 376
"is fm marker element" on page 423
"fm property" on page 399
"drop" on page 373
"attribute" on page 367
"is fm property" on page 424
Translating Markers
1. In all contexts.
Use marker type: Index
338

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents