Specifying A Dtd; Enabling Namespaces; Specifying Filename Extensions; Fileextensionoverride "Specifying Filename Extensions - Adobe 65030365 - FrameMaker - PC Developer's Manual

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

Advertisement

7
A p p l i c a t i o n d e f i n i t i o n f i l e
You can have only one ReadWriteRules element for each application. It can also be a
child of the Defaults element.

Specifying a DTD

The DTD element specifies a file containing the external DTD subset the software uses
when importing and exporting an markup document. It looks like:
DTD: dtd
where dtd is the pathname of a file containing a document type declaration subset.
Note that the file you specify with the DTD element must be an external DTD subset. It
cannot be a complete DTD. That is, the file cannot have the form:
<!DOCTYPE book [
<!element book . . .>
. . .
]>
Instead, it should simply have the form:
<!element book . . .>
. . .
For more information on external DTD subsets, see "XML and SGML DTDs" on page 13.
You can have only one DTD element for each application. It can also be a child of the
Defaults element.

Enabling namespaces

The Namespace element specifies whether the current XML structure application supports
namespaces in the XML. This element can contain either Disable or Enable as a child
element. The Namespace element looks like this:
Namespace
Enable
You can have only one Namespace element for each XML structure application. It can also
be a child of the Defaults element.

Specifying filename extensions

The FileExtensionOverride element specifies a filename extension to use when
saving a FrameMaker document as XML. This is most useful when saving XHTML
documents. Some web browsers that support XHTML can only read files with a .htm or
.html extension. When you save a document as XML (even using the XHTML doctype)
FrameMaker gives the file a .xml extension by default. You can use this element to specify
Working with Special Files
56

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents