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

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

Advertisement

16
D e f a u l t t r a n s l a t i o n
encounter naming difficulties unless you have adhered to SGML naming rules in your EDD.
You will need to write rules to reflect the differences.
Likewise, if you create an EDD by importing an XML DTD, you will have no problems. If
you create an XML DTD by exporting an EDD, you should not encounter problems with
name length, but you will need to ensure the element and attribute names use only legal
characters. Otherwise you will need to write rules to reflect the differences.
Important: For importing and exporting XML, FrameMaker has limited support of
double-byte characters in markup tokens such as GIs and attribute names. For more
information, see "Supported characters in element and attribute names" on
page 26and "Specifying the character encoding for XML files" on page 68.
SGML does not support double-byte characters in markup tokens.
If you do not specify the name for an element or attribute when translating between markup
and FrameMaker, FrameMaker must pick a name to use. The chosen name has the same
characters as the original. For XML, FrameMaker preserves the case of names on import
and export.
For SGML the case conventions are often different than case conventions in FrameMaker.
To ensure that the case of a name is appropriately chosen, FrameMaker uses this
information:
If specified, an element rule that explicitly translates a generic identifier to a
FrameMaker element tag
If an element rule gives both markup and FrameMaker names for an element, the
software uses the names and their case as specified.
If specified, an attribute rule that explicitly translates a markup attribute name to a
FrameMaker attribute name
If an attribute rule gives both markup and FrameMaker names for an attribute, the
software uses the names and their case as specified.
The NAMECASE parameter in the SGML declaration
If the NAMECASE parameter states that names are case sensitive, then the software
preserves the case of all characters on import and export. If the NAMECASE parameter
states that names are not case sensitive (as it does for general names in the reference
concrete syntax, which FrameMaker uses by default), then:
- On import, the software converts a generic identifier to an element tag that has an
initial capital letter followed by lowercase characters. For example, if a generic
identifier is written in the SGML document as part, Part, PART, or pArt, it becomes
the FrameMaker element tag Part. The software performs the same conversion for
attribute names.
- On export, the software converts a FrameMaker element tag to a generic identifier that
has all lowercase characters. So, each of the FrameMaker element tags part, Part,
Translating Elements and Their Attributes
232

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents