firstname

The <firstname> element contains the person's first name.

Contains

Note

These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype Content model
bookmap ( text data or keyword or apiname or option or parmname or cmdname or msgnum or varname or wintitle) (any number)
learningBookmap ( text data or keyword) (any number)

Contained by

Doctype Content model
bookmap, learningBookmap personname

Inheritance

+ topic/data xnal-d/firstname

Example

<namedetails>
 <personname>
  <honorific>Dr.</honorific>
  <firstname>Derek</firstname>
  <middlename>L.</middlename>
  <lastname>Singleton</lastname>
  <generationidentifier>Jr.</generationidentifier>
  <otherinfo>noted psychologist</otherinfo>
 </personname>
</namedetails>

Attributes

Name Description Data Type Default Value Required?
name Defines a unique name for the object. CDATA #IMPLIED No
datatype Describes the type of data contained in the value attribute or within the data element. A typical use of datatype will be the identifying URI for an XML Schema datatype. CDATA #IMPLIED No
value Specifies a value associated with the current property or element. CDATA #IMPLIED No
href Provides a reference to a resource. See The href attribute for detailed information on supported values and processing implications. CDATA #IMPLIED No
format The format attribute identifies the format of the resource being referenced. See The format attribute for details on supported values. CDATA #IMPLIED No
type Describes the target of a reference. See The type attribute for detailed information on supported values and processing implications. CDATA #IMPLIED No
scope The scope attribute identifies the closeness of the relationship between the current document and the target resource. See The scope attribute for more information on values. (local | peer | external | -dita-use-​conref-​target) #IMPLIED No
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) A set of related attributes, described in univ-atts attribute group
global-atts attribute group (xtrf, xtrc) A set of related attributes, described in global-atts attribute group
class, outputclass Common attributes described in Other common DITA attributes

Was this helpful?