Topicmeta

The <topicmeta> element defines the metadata that applies to a topic when it appears in a map, and to the other topics in the map that are contained by the same element that contains the <topicmeta>

element. When creating links, it can also be used to override the title and short description of the topic. In addition, it can be used to add index entries to referenced content using the <keywords> element.


Contents

[edit] Example

In this example, the metadata defined by the topicmeta element applies to the associated <topicref> (bats.dita) and all of its children. The <topicmeta> element contains an audience definition which indicates that bats.dita and its children are of interest to experienced programmers who are troubleshooting.

<map>

 <topicref href="bats.dita">
  <topicmeta>
   <audience type="programmer" job="troubleshooting" experiencelevel="expert"/>
  </topicmeta>
  <topicref href="batcaring.dita"></topicref>
  <topicref href="batfeeding.dita"></topciref>

 </topicref>
</map>

[edit] Contains

Doctype Content model
map ( (

linktext) (optional) then ( searchtitle) (optional) then ( shortdesc) (optional) then (

author) (any number) then ( source) (optional) then ( publisher) (optional) then (

copyright) (any number) then ( critdates) (optional) then ( permissions) (optional) then (

audience) (any number) then ( category) (any number) then ( keywords) (any number) then (

prodinfo) (any number) then ( othermeta) (any number) then ( resourceid) (any number) then (

data or data-about or foreign or unknown) (any number) )

bookmap ( (

linktext) (optional) then ( searchtitle) (optional) then ( shortdesc) (optional) then (

author or authorinformation) (any number) then ( source) (optional) then ( publisher) (optional) then (

copyright) (any number) then ( critdates) (optional) then ( permissions) (optional) then (

audience) (any number) then ( category) (any number) then ( keywords) (any number) then (

prodinfo) (any number) then ( othermeta) (any number) then ( resourceid) (any number) then (

data or data-about or foreign or unknown) (any number) )

[edit] Contained by

Doctype Parents
bookmap map, topicref, reltable, relcolspec, draftintro, preface, chapter, part, appendix, notices, glossarylist, topichead, topicgroup
map map, topicref, reltable, relcolspec, topichead, topicgroup

[edit] Inheritance:

- map/topicmeta


[edit] Attributes

Name Description Data Type Default Value Required?
lockmeta Indicates whether any of the meta information should be replaced

by meta information in the referenced topic.

no | -dita-use-conref-target) #IMPLIED No
%univ-atts; (%select-atts;, %id-atts;, %localization-atts;) A set of related attributes, described at %univ-atts; parameter entity PE not

applicable

Not applicable
%global-atts; (xtrf, xtrc) A set of related attributes, described at %global-atts; parameter entity PE not

applicable

Not applicable
class A common attribute described in Other common DITA attributes      

TOC: Language Specification 1.1
Parent topic: Map elements
Previous topic: relcolspec
Next topic: topicref

Retrieved from "http://www.ditawiki.org/index.php/Topicmeta"

This page has been accessed 183 times. This page was last modified 12:50, 13 July 2007.





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