Cross-reference element (<xref>)

A cross-reference element identifies a term or phrase you want to cross reference to another piece of information. The element's hyperlink (<href>) attribute specifies the path and target file.

Example

<step>
<cmd>Set the <varname>CLASSPATH </varname>
<xref href="linux_settingenvvariables.dita" >environment 
variable</xref> for <codeph>dost.jar</codeph>
</cmd>
</step>
			
Related concepts
Linking attribute
Linking content
Related links element (<related-links>)
Relationship table