如何从 Conref Table 创建 "Piecemail" Table

How to Create A "Piecemail" Table From A Conref Table

早上好!

我正在尝试创建一个大的 table,我可以在其中为较小的小节配置点点滴滴,但我 运行 遇到了一些麻烦。这就是我正在做的,基本上:

数据文件:

<table colsep="1" frame="topbot" rowsep="1">
    <tgroup cols="2" colsep="1" outputclass="NoTitle" rowsep="1">
      <colspec colname="1" colnum="1" colwidth="13*"/>

      <colspec colname="2" colnum="2" colwidth="87*"/>

      <thead id="Table_C_Header">
        <row rowsep="1">
          <entry colname="1"><p>Foo</p></entry>

          <entry colname="2"><p>Bar</p></entry>
        </row>
      </thead>

      <tbody>
        <row id="C_Item1" rowsep="1">
          <entry colname="1"><p>Foo1</p></entry>

          <entry colname="2"><ul>
              <li><p>Bar</p><p>Two</p></li>
            </ul></entry>
        </row>

        <row id="C_Item2" rowsep="1">
          <entry colname="1"><p>Foo2</p></entry>

          <entry colname="2"><ul>
              <li><p>Foo Two</p></li>
            </ul></entry>
        </row>
      </tbody>
    </tgroup>
  </table>

其他文件:

<table colsep="1" frame="topbot" rowsep="1">
        <tgroup cols="2" colsep="1" outputclass="NoTitle" rowsep="1">
          <colspec colname="1" colnum="1" colwidth="13*"/>

          <colspec colname="2" colnum="2" colwidth="87*"/>

    <thead conref="/Path/ToDatafile.xml#Table_C_Header />

但是,会议参考似乎不起作用。虽然我承认这可能是基于文件名路径的错误(我仍在学习 DITA 的方法),但我不确定是否还有其他原因。

基本上,我的目标是拥有一个大的 table,我可以根据需要按行进行引用。感谢您的宝贵时间!

好吧,不得不放弃这个简单的语法错误。经过一番斗争,我意识到,而不是:

<thead conref="/Path/ToDatafile.xml#Table_C_Header />

我应该使用:

<thead conref="/Path/ToDatafile.xml#TopicID/Table_C_Header" />