The <resourceid> element provides an identifier for applications that require them in a particular format, when the normal id attribute of the topic cannot be used.

Each resourceid entry should be unique. While DITA only requires IDs to be unique within a single topic or map, applications using the resourceid will generally require IDs to be universally unique or unique within a given collection of topics.



These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype Content model
topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary no content

Contained by

Doctype Content model
topic (base), topic (technical content), concept, ditabase, glossary, glossentry, glossgroup, reference, task (strict), task (general), machineryTask, learningAssessment, learningContent, learningOverview, learningPlan, learningSummary prolog
map (base), map (technical content), classifyMap, subjectScheme, learningMap topicmeta
bookmap, learningBookmap topicmeta, bookmeta


- topic/resourceid


  <resourceid id="sqlid00375" appname="dbaccess"/>


Name Description Data Type Default Value Required?
id The value used by a specific application to identify the topic. CDATA #REQUIRED Yes
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
appname Contains the name of the application that will use the resource id to identify the topic. CDATA #IMPLIED No
select-atts attribute group (props, base, platform, product, audience, otherprops, importance, rev, status) A set of related attributes, described in select-atts attribute group
localization-atts attribute group (translate, xml:lang, dir) A set of related attributes, described in localization-atts attribute group.
global-atts attribute group (xtrf, xtrc) A set of related attributes, described in global-atts attribute group
class A common attribute described in Other common DITA attributes

Was this helpful?