forked from oasis-tcs/dita
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
148 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
...ication/archSpec/base/example-a-subject-scheme-map-used-to-define-taxonomic-subjects.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> | ||
<concept | ||
id="example-a-subject-scheme-map-used-to-define-taxonomic-subjects" | ||
rev="2.0"> | ||
<title>Example: A subject scheme map used to define taxonomic | ||
subjects</title> | ||
<shortdesc>A subject scheme map can be used to define taxonomic subjects. | ||
Once defined, the subjects can be referenced by applying a | ||
<xmlatt>subjectrefs</xmlatt> attribute to a | ||
<xmlelement>topicref</xmlelement> element.</shortdesc> | ||
<prolog> | ||
<metadata> | ||
<keywords> | ||
<indexterm>examples<indexterm>subject scheme | ||
maps<indexterm>defining taxonomic | ||
subjects</indexterm></indexterm></indexterm> | ||
</keywords> | ||
</metadata> | ||
</prolog> | ||
<conbody> | ||
<p>The following subject scheme map defines a set of subjects that are | ||
used to classify content:</p> | ||
<codeblock><subjectScheme> | ||
<subjectdef keys="content-types"> | ||
<subjectdef keys="conceptual-material"/> | ||
<subjectdef keys="reference"/> | ||
<subjectdef keys="tutorial"/> | ||
</subjectdef> | ||
<subjectdef keys="operating-systems"> | ||
<subjectdef keys="linux"/> | ||
<subjectdef keys="macosx"/> | ||
<subjectdef keys="windows"/> | ||
</subjectdef> | ||
<subjectdef keys="user-tasks"> | ||
<subjectdef keys="administering"/> | ||
<subjectdef keys="developing"/> | ||
<subjectdef keys="installing"/> | ||
<subjectdef keys="troubleshooting"/> | ||
</subjectdef> | ||
</subjectScheme></codeblock> | ||
<p>The keys assigned to the subject definitions can be referenced by | ||
specifying the <xmlatt>subjectrefs</xmlatt> attribute on topic | ||
references in a navigation map:</p> | ||
<codeblock><map> | ||
<title>User assistance for the Acme Widget</title> | ||
<!-- ... --> | ||
<topicref keyref="install-overview" <b>subjectrefs="installing"</b>> | ||
<topicref keyref="install-linux"/> | ||
<topicref keyref="install-macosx"/> | ||
<topicref keyref="install-windows"/> | ||
<topicref keyref="install-troubleshooting" <b>subjectrefs="troubleshooting"</b>/> | ||
</topicref> | ||
<!-- ... --> | ||
</map></codeblock> | ||
<p>Because the <xmlatt>subjectrefs</xmlatt> attribute cascades, the | ||
effective value of the above markup is the same as the following | ||
markup:</p> | ||
<codeblock><map> | ||
<title>User assistance for the Acme Widget</title> | ||
<!-- ... --> | ||
<topicref keyref="install-overview" subjectrefs="installing"> | ||
<topicref keyref="install-linux" subjectrefs="installing"/> | ||
<topicref keyref="install-macosx" subjectrefs="installing"/> | ||
<topicref keyref="install-windows" subjectrefs="installing"/> | ||
<topicref keyref="install-troubleshooting" subjectrefs="installing troubleshooting"/> | ||
</topicref> | ||
<!-- ... --> | ||
</map></codeblock> | ||
</conbody> | ||
</concept> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
specification/archSpec/base/the-subjectrefs-attribute.dita
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> | ||
<concept id="the-subjectrefs-attribute" rev="2.0"> | ||
<title>The <xmlatt>subjectrefs</xmlatt> attribute</title> | ||
<shortdesc>The <xmlatt>subjectrefs</xmlatt> attribute specifies one or | ||
more keys that are defined by a subject definition in a subject scheme | ||
map. Multiple values are separated by white space.</shortdesc> | ||
<prolog> | ||
<metadata> | ||
<keywords> | ||
<indexterm><xmlatt>subjectrefs</xmlatt><indexterm>overview</indexterm></indexterm> | ||
</keywords> | ||
</metadata> | ||
</prolog> | ||
<conbody> | ||
<p>The <xmlatt>subjectrefs</xmlatt> attribute cascades. It can be used | ||
on a <xmlelement>topicref</xmlelement> element to associate the | ||
referenced topic with a subject defined in a subject scheme map.</p> | ||
<p>The <xmlatt>subjectrefs</xmlatt> attribute has no meaning if it is | ||
specified on a key definition that does not reference a resource.</p> | ||
</conbody> | ||
</concept> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters