I'm trying to create links to various ids in a single file, and the links don't work when the file is output to PDF. The topic type is composite. I don't have any trouble when using similar xref links to ids in different files. I'm using XMetal Author Enterprise 6.0. Here's an example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA Composite//EN" "
http://docs.oasis-open.org/dita/v1.1/OS/dtd/ditabase.dtd">
<dita>
<topic id="MainTopic">
<title>Main topic</title>
<shortdesc/>
<prolog>
<author type="creator"/>
<author type="contributor"/>
<critdates>
<created date="2011-03-11"/>
<revised modified=""/>
</critdates>
<metadata>
<audience type="developer"/>
<keywords>
<keyword/>
</keywords>
<prodinfo>
<prodname/>
<vrmlist>
<vrm version="2011-03-01"/>
</vrmlist>
<component/>
</prodinfo>
</metadata>
</prolog>
<body>
<p>The following datatypes are used in the response elements of the XXX operation:</p>
<ul>
<li><xref href="#DataType1"/></li>
<li><xref href="#DataType2"/></li>
</ul>
</body>
<reference id="DataType1">
<title>DataType1</title>
<shortdesc></shortdesc>
<refbody>
<section>
<title>Datatype content</title>
<p>The following table shows the elements of the <cmdname>DataType1</cmdname>
datatype:</p>
<table id="RequestParametersTable" frame="all" colsep="1" rowsep="1">
<tgroup cols="4">
<colspec colnum="1" colname="c1" colwidth="1.1*"/>
<colspec colnum="2" colname="c2" colwidth="1.13*"/>
<colspec colnum="3" colname="c3" colwidth="1.0*"/>
<colspec colnum="4" colname="c4" colwidth="1.17*"/>
<thead>
<row>
<entry>Name</entry>
<entry>Description</entry>
<entry>Required</entry>
<entry>Valid values</entry>
</row>
</thead>
<tbody>
<row>
<entry><parmname>Name1</parmname></entry>
<entry>
<p>Description1</p>
</entry>
<entry>No</entry>
<entry/>
</row>
<row>
<entry><parmname>Name2</parmname></entry>
<entry>
<p>Description2</p>
</entry>
<entry>No</entry>
<entry/>
</row>
</tbody>
</tgroup>
</table>
</section>
</refbody>
</reference>
<reference id="DataType2">
<title>DataType2</title>
<shortdesc></shortdesc>
<refbody>
<section>
<title>Datatype content</title>
<p>The following table shows the elements of the <cmdname>DataType2</cmdname>
datatype:</p>
<table id="RequestParametersTable" frame="all" colsep="1" rowsep="1">
<tgroup cols="4">
<colspec colnum="1" colname="c1" colwidth="1.1*"/>
<colspec colnum="2" colname="c2" colwidth="1.13*"/>
<colspec colnum="3" colname="c3" colwidth="1.0*"/>
<colspec colnum="4" colname="c4" colwidth="1.17*"/>
<thead>
<row>
<entry>Name</entry>
<entry>Description</entry>
<entry>Required</entry>
<entry>Valid values</entry>
</row>
</thead>
<tbody>
<row>
<entry><parmname>Name3</parmname></entry>
<entry>
<p>Description3</p>
</entry>
<entry>No</entry>
<entry/>
</row>
<row>
<entry><parmname>Name4</parmname></entry>
<entry>
<p>Description4</p>
</entry>
<entry>No</entry>
<entry/>
</row>
</tbody>
</tgroup>
</table>
</section>
</refbody>
</reference>
<topic id="RelatedTopics">
<title>Related topics</title>
<shortdesc/>
<body>
<p></p>
</body>
</topic>
</topic>
</dita>
The two xref links (<xref href="#DataType1"/> and <xref href="#DataType2"/> don't work in the PDF output. Has anyone else seen this problem?
Thanks,
Rick