Home › Forums › DITA and XMetaL Discussion › Wrestling with Conrefs › Reply To: Wrestling with Conrefs
Reply to: Wrestling with Conrefs
June 10, 2009 at 6:27 pmThe conref attribute must be set on an element (yes, that's pretty obvious), so in order to include a group of elements together they must be included within a parent element where the conref attribute is set. To group a number of paragraphs together you will need to wrap them in another legally allowed element and then set the conref on that element. This includes the following, which are possibly the most logical choices (though this really depends very highly on your content):
section
example
note
lq
body
There are many other elements you could use depending on the topic type and the context. To find a full list of all parent elements that can contain
right click in a
element and select “Help on Current Element”. That will open the DITA Language Reference and take you to the help for
. The “Contained by” section lists all possible parents for
.