<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> | <foreign> | <keyword> | <term> | <text>)*
Not contained by any element.
- Zero or more of the following
- Text
<data><foreign><keyword><term><text>
Not contained by any element.
Inheritance
+ topic/ph sw-d/filepath
The <filepath> element is specialized from <ph>. It is defined in the sw-domain module.
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
@keyrefis@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>