On Fri, Feb 25, 2011 at 1:43 PM, Bob Stayton <[email protected]> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to