3.4.2.9 The format attribute

The format attribute identifies the format of the resource being cross referenced. The processing default for format is “dita”. If no value is specified, but the attribute is specified on an ancestor within a map or within the related-links section, the value will cascade from the closest ancestor.

Using the format attribute

Possible values for this attribute include:

dita

The destination uses DITA topic markup or markup specialized from a DITA topic. Unless otherwise specified, the corresponding default type will be treated as "topic."

html

The format of the linked-to resource is HTML or XHTML.

pdf

The format of the linked-to resource is PDF (opens a new window).

ditamap

The linked-to resource is a DITA map. It represents the referenced hierarchy at the current point in the referencing map. References to other maps may occur at any point in a map, but because relationship tables are only valid as children of a map, referenced relationship tables are treated as children of the referencing map.

(no value)

Processors default to "dita"

For other formats, you can use the file extension without the "." (for example, in a link to file "readme.txt", use "txt" as the value).

Previous Topic:  3.4.2.8 The type attribute

Next Topic:  3.4.2.10 The scope attribute

Parent Topic:  3.4.2 Complex attribute definitions

Sibling Topics:

3.4.2.1 The href attribute

3.4.2.2 The keys attribute

3.4.2.3 The keyref attribute

3.4.2.4 The conref attribute

3.4.2.5 The conaction attribute

3.4.2.6 The conrefend attribute

3.4.2.7 The conkeyref attribute

3.4.2.8 The type attribute

3.4.2.10 The scope attribute

3.4.2.11 The role attribute