From: Kristen Eberlein
Sent: Tuesday, 2010 November 30 7:07
Subject: [dita] Question about syntax for the @anchorref attribute
been asked about the correct syntax for the @anchorref attribute on the
<map> element. As I’ve read through various spec topics, I’ve
gotten confused. I think this might be an area that that we need to consider
for future clarification.
In map1.ditamap, an
anchor is defined with an @id attribute set to “a1”.
<topicref navtitle="Start here" href=""start.dita""
which contains the content to be pulled into map1.ditamap at the anchor point,
what syntax should be used for the @anchorref attribute?
<title>This map is pulled into the MyComponent task map</title>
And I assume that
map2.ditamap must be referenced somewhere in map1.ditamap in order for the
<anchor> element to be resolved?
in the DITA 1.2 spec
topics in the DITA 1.2 spec suggest several distinct possibilities; which is
DITA map elements
down to the “Example of maps that use the <anchor> element and the
@anchorref attribute” section; it suggests that the syntax should be as
explanation for the @anchorref attribute suggests that the syntax should be the
URI-based (direct) addressing
section titled “URI reference syntax examples” lists the following
syntax for targeting an element within a map:
value of "ditamap" for the format
James Eberlein l DITA
Architect and Technical Specialist l SDL
Structured Content Technologies Division l (t) + 1
(919) 682-2290 l email@example.com
consider the environment before printing this e-mail