<filepath>

A file path is the location of a resource, such as the system path and file name of a file on a storage device.

Rendering expectations

The content of the <filepath> element is typically rendered in a monospaced font.

Specialization hierarchy

The <filepath> element is specialized from <ph>. It is defined in the software domain module.

Content model

, (Text | <data> | <sort-as> | <foreign> | <keyword> | <markupname> | <apiname> | <option> | <parmname> | <cmdname> | <msgnum> | <varname> | <wintitle> | <numcharref> | <parameterentity> | <textentity> | <xmlatt> | <xmlelement> | <xmlnsname> | <xmlpi> | <term> | <abbreviated-form> | <text> )*

Attributes

The following attributes are available on this element: universal attributes and @keyref.

The following attributes are available on this element: universal attributes and the attributes defined below.

@keyref
Specifies a key name that acts as a redirectable reference based on a key definition within a map. See STUB CONTENT for information on using this attribute.

For HDITA, the equivalent of @keyref is @data-keyref

Example

This section is non-normative.

In the following code sample, the <filepath> element is used to tag both file names and system paths:

<p>Uncompress the <filepath>gbbrsh.gz</filepath> file to the 
<filepath>/usr</filepath> directory. Ensure that the
<filepath>/usr/tools/data.cfg</filepath> path is listed in
the execution path system variable.</p>