Created
January 26, 2015 06:55
-
-
Save jelovirt/fcfbb2eb89cb98e4c1cf to your computer and use it in GitHub Desktop.
Subject scheme example
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> | |
<topic id="a"> | |
<title>Topic a</title> | |
<body> | |
<p platform="oxs"/> | |
</body> | |
</topic> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE subjectScheme PUBLIC "-//OASIS//DTD DITA Subject Scheme Map//EN" "subjectScheme.dtd"> | |
<subjectScheme id="B"> | |
<subjectdef keys="os"> | |
<subjectdef keys="windows"/> | |
</subjectdef> | |
<enumerationdef> | |
<attributedef name="platform"/> | |
<subjectdef keyref="os"/> | |
</enumerationdef> | |
</subjectScheme> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> | |
<map id="sub"> | |
<mapref type="subjectScheme" href="sub-ss.ditamap"/> | |
<topicref href="a.dita"/> | |
</map> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE subjectScheme PUBLIC "-//OASIS//DTD DITA Subject Scheme Map//EN" "subjectScheme.dtd"> | |
<subjectScheme id="A"> | |
<subjectdef keys="os"> | |
<subjectdef keys="osx"/> | |
</subjectdef> | |
<enumerationdef> | |
<attributedef name="platform"/> | |
<subjectdef keyref="os"/> | |
</enumerationdef> | |
</subjectScheme> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd"> | |
<map id="top"> | |
<mapref type="subjectScheme" href="top-ss.ditamap"/> | |
<mapref href="sub.ditamap"/> | |
</map> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment