##### 24.9.5.3 Specifying the <xref> type attribute

DITA2Go sets the type attribute of most generated <xref> elements to the DITA type (root element) of the destination topic. However, for links that use a HyperLink PI marker, DITA2Go omits the type attribute.

To specify the type attribute of the next cross reference or hypertext link, insert a DITALinkType PI marker in text just before the link. The content of the marker is the value of the type attribute of the generated <xref> element. Valid type attributes include li, fn, fig, table, and section.

See also:

§24.4.6.1 Specifying a value for the id attribute

Previous Topic: 24.9.5.2 Specifying the <xref> format attribute

Next Topic: 24.10 Including CSH targets in DITA XML

Parent Topic: 24.9.5 Overriding <xref> attribute values

Sibling Topics:

24.9.5.1 Specifying the <xref> scope attribute

24.9.5.2 Specifying the <xref> format attribute