Diff for Future approaches to subject classification
Mon, 2007-10-15 20:51 by carolgeyer | Sun, 2007-11-25 08:12 by Bruce Esrig | ||
---|---|---|---|
Tags: Taxonomy, Data element | |||
< previous diff | |||
Changes to Body | |||
Line 1 | Line 1 | ||
<p>
| <p>
| ||
- | There are two main approaches to subject classification currently being explored for future use in DITA, which this page will call the <em>map-based approach</em> and the <em>metadata approach</em>.
| + | There are two main approaches to subject classification currently being explored for future use in DITA, which this page will call the <em>map-based approach</em> and the <em>metadata approach</em>.
|
</p>
| </p>
| ||
<p>
| <p>
| ||
- | In the <em>map-based approach</em>, a taxonomy is represented using a hierarchy in a DITA map. Each member of the hierarchy is a specialization of the <topicref> element. Each <topicref> element points to a topic that describes the subject of that node of the taxonomy.
| + | In the <em>map-based approach</em>, a taxonomy is represented using a hierarchy in a DITA map. Each member of the hierarchy is a specialization of the <topicref> element. Each <topicref> element points to a topic that describes the subject of that node of the taxonomy.
|
</p>
| </p>
| ||
<p>
| <p>
| ||
- | In the <em>metadata approach</em>, the <data> element (which is being introduced in DITA 1.1) is used to record properties. The property stated in a <data> element is considered to apply to:
| + | In the <em>metadata approach</em>, the <data> element (which is being introduced in DITA 1.1) is used to record properties. The property stated in a <data> element is considered to apply to:
|
</p>
| </p>
| ||
<ul>
| <ul>
| ||
Line 14 | Line 14 | ||
</ul>
| </ul>
| ||
<p>
| <p>
| ||
- | When the <data> element is used within content, the property that it states is considered to apply to the directly enclosing content element. When the <data> element is used in metadata contexts, the property that it states is considered to apply to the nearest enclosing content element (such as <topic>).
| + | When the <data> element is used within content, the property that it states is considered to apply to the directly enclosing content element. When the <data> element is used in metadata contexts, the property that it states is considered to apply to the nearest enclosing content element (such as <topic>).
|
</p>
| </p>
| ||
<p>
| <p>
| ||
- | Broader topics:
| + | Broader topics:
|
</p>
| </p>
| ||
<ul>
| <ul>
| ||
Line 24 | Line 24 | ||
</ul>
| </ul>
| ||
<p>
| <p>
| ||
- | Related topic: <a href="/node/1345">Taxonomy specialization plug-in</a>
| + | Related topic: <a href="/node/1345">Taxonomy specialization plug-in</a>, <a href="/arch-specialization">Introduction to Specialization</a>
|
</p>
| </p>
| ||
Future approaches to subject classification
There are two main approaches to subject classification currently being explored for future use in DITA, which this page will call the map-based approach and the metadata approach.
In the map-based approach, a taxonomy is represented using a hierarchy in a DITA map. Each member of the hierarchy is a specialization of the <topicref> element. Each <topicref> element points to a topic that describes the subject of that node of the taxonomy.
In the metadata approach, the <data> element (which is being introduced in DITA 1.1) is used to record properties. The property stated in a <data> element is considered to apply to:
- the enclosing element (the default)
- another element (if a URI is specified)
- an external object (if a sub-element is used and a URI is specified in the sub-element)
When the <data> element is used within content, the property that it states is considered to apply to the directly enclosing content element. When the <data> element is used in metadata contexts, the property that it states is considered to apply to the nearest enclosing content element (such as <topic>).
Broader topics:
Related topic: Taxonomy specialization plug-in, Introduction to Specialization