The variable name (<varname>) element defines a variable that must be supplied to a software application. The variable name element is very similar to the variable (var) element, but variable name is used outside of syntax diagrams. This element is part of the DITA software domain, a special set of DITA elements designed to document software tasks, concepts and reference information.
( text data )
Name | Description | Data Type | Default Value | Required? |
---|---|---|---|---|
keyref | Currently not implemented in DITA processors. Provides a key that a process can use to look up associated information. | NMTOKEN | #IMPLIED | No |
%univ-atts; (%select-atts;, %id-atts;, translate, xml:lang) | A set of related attributes, described at univ-atts | parameter entity | PE not applicable | Not applicable |
%global-atts; (xtrf, xtrc) | A set of related attributes, described at global-atts | parameter entity | PE not applicable | Not applicable |
class, outputclass | Common attributes described in othercommon |
<filepath> <varname>install-dir</varname>\projects\working\<varname>project-dir</varname> \source\<varname>filename</varname>.java </filepath>