%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.


[edit] 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

[edit] 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>


TOC: Language Specification 1.1
Parent topic: Commonly referenced attributes
Previous topic: %global-atts; Next topic: %rel-atts;

Retrieved from "http://www.ditawiki.org/index.php/%25id-atts%3B"

This page has been accessed 156 times. This page was last modified 23:30, 11 July 2007.





This page
Discuss this page
Post a comment
Printable version
My pages
Log in / create account