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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Are HTML chunk targets equivalent to XHTML chunktargets for olinking?


On 02/25/2011 06:39 PM, Peter Desjardins wrote:
> Hi. I'm generating webhelp output with Saxon and Xerces and I ran into 
> a problem generating targets for olinks. I process my source document 
> twice, once to generate the target database and then to produce the 
> actual output. When I use the xhtml/chunk.xsl stylesheet to generate 
> targets, the target database file includes a doctype declaration and 
> problematic characters.
In our system, I have the whole olink db production mechanism hidden 
from view. It first generates an ant file for your suite of docs, then 
runs it, generating the olink.dbs. I had to check to how I'd gotten 
around the problem you mention. I just checked and it's not elegant, but 
it does work. In the ant file after generating all the target dbs, I do:

<replace dir="/home/dcramer/workhead-svn/sdc/branches/8.0/target">
<include name="target-*.db"/>
<replacefilter token="&lt;!DOCTYPE div" value=""/>
<replacefilter token="PUBLIC &#34;-//W3C//DTD XHTML 1.0 
Transitional//EN&#34; 
&#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&gt;";
                      value=""/>
</replace>

David


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