OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-tc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Fw: reltable sample for your review

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

----- 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";>
        <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>
        <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"/>
            <association>Related links</association>
            <instance linkend="dogs"/>
            <instance linkend="cats"/>
            <instance linkend="gerbils"/>
            <instance linkend="mice"/>
            <instance linkend="intro"/>
            <instance linkend="reference"/>
<?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"/>
            <relcolspec  type="concept"></relcolspec>
            <relcolspec type="pet"></relcolspec>
            <relcolspec type="reference"></relcolspec>
                <topicref keyref="intro" linking="targetonly"/>
                <topicref keyref="dogs"/>
                <topicref keyref="cats"/>
                <topicref keyref="gerbils"/>
                <topicref keyref="mice"/>
                <topicref keyref="reference" linking="targetonly"/>

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]