Skip to content

Instantly share code, notes, and snippets.

@eerohele
Created April 4, 2014 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eerohele/9980525 to your computer and use it in GitHub Desktop.
Save eerohele/9980525 to your computer and use it in GitHub Desktop.
dita-ot/dita-ot #1596
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map id="id-1596" title="dita-ot/dita-ot #1596">
<topicref href="topic1.dita"/>
<topicref href="topic2.dita"/>
</map>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic1" xml:lang="en-us">
<title>Topic 1</title>
<body>
<p>Hello, world 1!</p>
<simpletable>
<sthead>
<stentry id="sthead_stentry">Type style</stentry>
<stentry>Elements used</stentry>
</sthead>
<strow>
<stentry id="strow_stentry">Bold</stentry>
<stentry>b</stentry>
</strow>
<strow>
<stentry>Italic</stentry>
<stentry>i</stentry>
</strow>
<strow>
<stentry>Underlined</stentry>
<stentry>u</stentry>
</strow>
</simpletable>
<table>
<tgroup cols="2">
<thead>
<row>
<entry id="thead_entry">Type style</entry>
<entry>Elements used</entry>
</row>
</thead>
<tbody>
<row>
<entry id="tbody_entry">Bold</entry>
<entry>b</entry>
</row>
<row>
<entry>Italic</entry>
<entry>i</entry>
</row>
<row>
<entry>Underlined</entry>
<entry>u</entry>
</row>
</tbody>
</tgroup>
</table>
<dl>
<dlhead>
<dthd>Image File View Selection</dthd>
<ddhd>Resulting Information</ddhd>
</dlhead>
<dlentry id="dlentry_id">
<dt>File Type</dt>
<dd>Image's file extension</dd>
</dlentry>
<dlentry>
<dt>Image Class</dt>
<dd>Image is raster, vector, metafile or 3D</dd>
</dlentry>
<dlentry>
<dt>Number of pages</dt>
<dd>Number of pages in the image</dd>
</dlentry>
<dlentry>
<dt>Fonts</dt>
<dd>Names of the fonts contained within a vector image</dd>
</dlentry>
</dl>
</body>
</topic>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="topic2" xml:lang="en-us">
<title>Topic 2</title>
<body>
<p>Hello, world 2!</p>
<ul>
<li><xref href="topic1.dita#topic1/sthead_stentry">sthead_stentry</xref></li>
<li><xref href="topic1.dita#topic1/strow_stentry">strow_stentry</xref></li>
<li><xref href="topic1.dita#topic1/thead_entry">thead_entry</xref></li>
<li><xref href="topic1.dita#topic1/tbody_entry">tbody_entry</xref></li>
<li><xref href="topic1.dita#topic1/dlentry_id">dlentry</xref></li>
</ul>
</body>
</topic>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment