RE: [docbook-apps] Olinking and Chunked HTML Transformations

From
Ray Miller <>
Date
2006-04-27T21:08:50+00:00
ID
004e01c66a3f$5ff14890$c801a8c0@MADISON
Thread
RE: [docbook-apps] Olinking and Chunked HTML Transformations
> collect.xref.targets="yes" 

> target.database.document="olinkdb.xml"

> targets.filename="target.db" 
(this is the default value)

> current.docid="foo"

> 

> 

> Contents of
olinkdb.xml:

> 

> <?xml
version="1.0"?>

> <!DOCTYPE
targetset [

> <!ENTITY data
SYSTEM "target.db">

> ]>

> <targetset>

>  <document
targetdoc="foo">

>    &data;

>  </document>

> </targetset>

 

 

Encountered a problem with the generated
target.db file (seem to recall this issue previously occurring) 

Validation complains about the <i>
tags and the extended characters embedded in the <xreftext> tags. 

Don’t quite understand the
<href> content either, should it not be something like ch01s01.html ?

 

Fragment of generated target.db file
below:

 

<div
element="book" href=""#vhimComm"" number=""
targetptr="vhimComm">

  
<ttl>Foo</ttl>

  
<xreftext>Foo</xreftext>

  
<div element="chapter" href=""#overview""
number="1" targetptr="overview">

     
<ttl>Overview</ttl>

     
<xreftext>1. <i>Overview</i>

     
</xreftext>

     
<div element="sect1" href=""#d5e67""
number="1.1">

        
<ttl>Introduction</ttl>

        
<xreftext>Section 1.1, “Introduction�</xreftext>

     
</div>

     
<div element="sect1" href=""#prjSummary""
number="1.2" targetptr="prjSummary">

        
<ttl>Project Summary</ttl>

        
<xreftext>Section 1.2, “Project Summary�</xreftext>

        
<div element="sect2" href=""#purpScopeObj""
number="1.2.1" targetptr="purpScopeObj">

           
<ttl>Purpose, Scope and Objectives</ttl>

           
<xreftext>Section 1.2.1, “Purpose, Scope and
Objectives�</xreftext>

           
<div element="sect3" href=""#d5e104""
number="1.2.1.1">

     
         <ttl>Statement of
Purpose</ttl>

              
<xreftext>Section 1.2.1.1, “Statement of
Purpose�</xreftext>

           
</div>