[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Fw: reltable sample for your review
Hi, Here is the reltable example. I thought I had sent it to the group, but I had only sent it to Gershon for review. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "Bob Stayton" <bobs@sagehill.net> To: "Gershon Joseph" <gerjosep@cisco.com> Sent: Friday, February 19, 2010 11:42 AM Subject: reltable sample for your review > Hi Gershon, > I put together a DITA map with reltable example along with a DocBook assembly > example > that I think parallels it. Could you please look over the reltable example to make > sure it conforms to DITA before I send it out to the group? > > One thing I immediate notice is that reltable allows you to specify categories of > targets and control over the direction(s) of linking that the current DocBook > relationship does not. > > Bob Stayton > Sagehill Enterprises > bobs@sagehill.net > >
<?xml version="1.0" encoding="UTF-8"?> <?oxygen RNGSchema="file:/C:/xml/topicbook/rnc/assembly.rnc" type="compact"?> <assembly xmlns="http://docbook.org/ns/docbook"> <resources> <resource xml:id="intro" fileref="bookintro.xml"></resource> <resource xml:id="dogs" fileref="dogs.xml"></resource> <resource xml:id="cats" fileref="mycats.xml"></resource> <resource xml:id="gerbils" fileref="rodents.xml#gerbils"></resource> <resource xml:id="mice" fileref="rodents.xml#mice"></resource> <resource xml:id="reference" fileref="petreference.xml"></resource> </resources> <structure> <title>The structure of a pets document</title> <module renderas="article"> <title>My pets</title> <module resourceref="intro"/> <module resourceref="dogs"/> <module resourceref="cats"/> <module resourceref="gerbils"/> <!-- mice are not included here --> <module resourceref="reference"/> </module> </structure> <relationships> <relationship> <association>Related links</association> <instance linkend="dogs"/> <instance linkend="cats"/> <instance linkend="gerbils"/> <instance linkend="mice"/> <instance linkend="intro"/> <instance linkend="reference"/> </relationship> </relationships> </assembly>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map SYSTEM "file:/C:/xml/dita/dtd12/technicalContent/dtd/map.dtd"> <map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"> <title>My pets</title> <!-- DITA uses keydef to define a mapping from a name to a file, similar to <resource> --> <keydef keys="intro" href="bookintro.xml"/> <keydef keys="dogs" href="dogs.xml"/> <keydef keys="cats" href="cats.xml"/> <keydef keys="gerbils" href="rodents.xml#gerbils"/> <keydef keys="mice" href="rodents.xml#mice"/> <keydef keys="reference" href="petreference.xml"/> <topicref keyref="intro"/> <topicref keyref="dogs"/> <topicref keyref="cats"/> <topicref keyref="gerbils"/> <topicref keyref="reference"/> <reltable> <relheader> <relcolspec type="concept"></relcolspec> <relcolspec type="pet"></relcolspec> <relcolspec type="reference"></relcolspec> </relheader> <relrow> <relcell> <topicref keyref="intro" linking="targetonly"/> </relcell> <relcell> <topicref keyref="dogs"/> <topicref keyref="cats"/> <topicref keyref="gerbils"/> <topicref keyref="mice"/> </relcell> <relcell> <topicref keyref="reference" linking="targetonly"/> </relcell> </relrow> </reltable> </map>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]