List Info

Thread: Olinking and Chunked HTML Transformations




Olinking and Chunked HTML Transformations
user name
2006-04-27 21:13:04

> 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=&quot;1.0"?>

> <!DOCTYPE targetset [
> <!ENTITY data SYSTEM "target.db">
> ]>
> <targetset>

>  <document targetdoc="foo">

> &nbsp;  &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&quot; number=&quot;" targetptr=&quot;vhimComm">

 &nbsp; <ttl&gt;Foo</ttl>

 &nbsp; <xreftext>Foo</xreftext>

 &nbsp; <div element=&quot;chapter" href=";#overview&quot; number="1&quot; targetptr="overview"&gt;

 &nbsp; &nbsp;  &lt;ttl>Overview</ttl>

 &nbsp; &nbsp;  &lt;xreftext>1.Â&nbsp;<i>;Overview&lt;/i>

 &nbsp; &nbsp;  &lt;/xreftext>

 &nbsp; &nbsp;  &lt;div element=&quot;sect1&quot; href=";#d5e67&quot; number=&quot;1.1&quot;>

 &nbsp; &nbsp; &nbsp; &nbsp; <ttl>Introduction</ttl>

 &nbsp; &nbsp; &nbsp; &nbsp; <xreftext>SectionÂ&nbsp;1.1, “Introduction�</xreftext>

 &nbsp; &nbsp;  &lt;/div>

 &nbsp; &nbsp;  &lt;div element=&quot;sect1&quot; href=";#prjSummary" number="1.2" targetptr="prjSummary">

 &nbsp; &nbsp; &nbsp; &nbsp; <ttl>Project Summary<;/ttl>

 &nbsp; &nbsp; &nbsp; &nbsp; <xreftext>SectionÂ&nbsp;1.2, “Project Summary�</xreftext>

 &nbsp; &nbsp; &nbsp; &nbsp; <div element=&quot;sect2&quot; href=";#purpScopeObj" number=";1.2.1"; targetptr="purpScopeObj&quot;>

 &nbsp; &nbsp; &nbsp; &nbsp;   ; <ttl&gt;Purpose, Scope and Objectives</ttl>;

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

 &nbsp; &nbsp; &nbsp; &nbsp;   ; <div element=&quot;sect3&quot; href=";#d5e104&quot; number="1.2.1.1">;

 &nbsp; &nbsp;  &nbsp;   ; &nbsp; &nbsp; &lt;ttl>Statement of Purpose</ttl>;

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp;  &lt;xreftext&gt;Section 1.2.1.1, “Statement of Purpose�</xreftext>

 &nbsp; &nbsp; &nbsp; &nbsp;   ; </div&gt;

 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )