%id-atts;

ID attributes (%id-atts;) is a parameter entity declaration in the topic DTD that includes attributes that enable the naming and referencing of elements in a DITA topic: id and conref.

Attributes

Name Description Data Type Default Value Required?
id An anchor point. This ID is the target for references by href and conref attributes, and for external applications that refer to DITA content. NMTOKEN #IMPLIED No
conref This attribute is used to reference an ID on content that can be reused. See The conref attribute for examples and details about the syntax. CDATA #IMPLIED No

Example

The %id-atts; parameter entity is used within the DITA dtds as a common definition for attributes available to most elements that enable you to name or reference (link to or fetch) the content of particular elements. Some typical examples include:

<p id="mainpara">The war cry of Kudzu University, <q id="warcry">To the victor 
go the spoils!</q>, is often heard on campus during freshman orientation.</p>
<p id="dullpara">One often hears the cry, <q conref="#topicid/warcry"/>, when 
students are competing in intramural sports.</p>

Return to main page.

OASIS DITA Version 1.1 Language Specification -- OASIS Standard, 1 August 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.