Download 10 - Docu + Design Daube

Transcript
16
Modifications to the default translation
an XML or SGML instance, or when exporting a FrameMaker document. Also, the default
value is used only to initiate formatting. FrameMaker does not actually provide an attribute
value for the element. When you export the FrameMaker document, the software does not
generate an attribute value where there previously was none.
For more information, see “Default value” on page 176 and “Default translation” on
page 228 For information on these rules, see “element” on page 376, “attribute” on
page 367, and “implied value is” on page 406.
Changing an attribute’s type or declared value
Declared values for attributes in markup, and FrameMaker attribute types are different. In
the absence of read/write rules, FrameMaker must make decisions on how to translate
between them. The default translations are listed in “Attribute types and declared values”
on page 230. You can change the attribute type created for an EDD or the declared value
for a DTD by using the following rule:
[structdv | xmldv] attribute "attr"
is fm [read-only] [fmtype] attribute "fmattr"
[range from a to b];
where structdv is an SGML declared value, xmldv is an XML declared value, attr is a
markup attribute name, fmtype is a FrameMaker attribute type, fmattr is a FrameMaker
attribute name, and a and b are numbers.
SGML:
The possible values for structdv are:
cdata
id
name
number
entity
idref
names
numbers
entities
idrefs
nmtoken
nutoken
group
notation
nmtokens
nutokens
XML:
The possible values for xmldv are:
cdata
id
notation
entity
idref
idrefs
entities
idrefs
notation
group
The possible values for fmtype are:
string
integers
unique-id
strings
real-number
id-reference
choice
real-numbers
id-references
integer
Structure Application Developer’s Guide
243