Download Structured Application Developer Reference

Transcript
Define an application
If present, the optional child elements can occur in any order and can include the following
elements, discussed in the named sections:
Element
DOCTYPE
Discussed in
“Specifying a DOCTYPE element” on page 13
DTD
“Specifying a DTD” on page 14
CharacterEncoding
“Specifying the character encoding for SGML files” on page 11
ConditionalText
“Specifying conditional text output” on page 13
Entities
“Specifying entities” on page 14
ExternalXRef
“Specifying external cross reference behavior” on page 20
FileExtensionOverride
“Specifying filename extensions” on page 21
Namespace
“Enabling namespaces” on page 22
ReadWriteRules
“Specifying a read/write rules document” on page 22
RulesSearchPaths
“Specifying a search path for included files in rules documents”
on page 22
Schema
“Specifying a Schema for XML” on page 23
SGMLDeclaration
“Specifying an SGML declaration” on page 24
Stylesheets
“Managing CSS import/export and XSL transformation” on
page 24
Template
“Specifying a FrameMaker template” on page 26
UseAPIClient,
UseDefaultAPIClient,
“Specifying a structure API client” on page 27
XMLDisplayEncoding
“Specifying the character encoding for XML files” on page 27
XMLExportEncoding
“Exporting XML” on page 29
XMLCharacterEncoding
“XML character encoding from an SGML application” on
page HIDDEN
XMLWriteRules
“Write rules for saving XML from an SGML application” on
page HIDDEN
Some elements provide pathnames (for entities and read/write rules files; hence
RulesSearchPaths and EntitySearchPaths elements). If the pathname is absolute, the
software looks there. If it can’t find it via the specified path, the log reports an error and the
operation is aborted. If a relative pathname is given, the software looks for the file in several
places:
• The directory containing the file being processed. For example, if you’re opening a DTD, the
software first searches the directory in which it found the DTD.
• $STRUCTDIR (for information on what directory this is, see Developer Guide, page 131:
Location of structure files).
• The directory from which you started FrameMaker.
Structure Application Definition Reference
10