Next in thread → Next in month →

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

From
Oeter Eesjardins
Date
2011-02-28T17:38:30+00:00
ID
AANLkTinBHsZRK7=
Thread
Re: [docbook-apps] Are HTML chunk targets equivalent to XHTML chunktargets for olinking?
On Fri, Feb 25, 2011 at 1:43 PM, Bob Stayton <> wrote:
>
> It is possible to get the XHTML stylesheet working with olinks.  I'm curious about the "Invalid byte" error, which sounds like an encoding mismatch somewhere.

It was an encoding problem. Thanks for pointing that out. I got it to
work by adding the encoding argument to my Ant replace task
invocation:

<replace file="${output.base.path.build}targets/${current.docid}Targetswebhelp.db"
               token="&lt;!DOCTYPE div"
               value=""
               encoding="utf-8" />
<replace file="${output.base.path.build}targets/${current.docid}Targetswebhelp.db"
               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=""
               encoding="utf-8" />

Peter Desjardins
Next in thread → Next in month →