Mark Jaffe <[EMAIL PROTECTED]> wrote:

> I am creating an HTML page in my build file, and writing a version
> string into it. I got an error when I first executed this code:

>   <echo file="ps/html/version.tmpl" >
> &lt;html&gt;
>...
>&copy;
>...
></echo>

copy is not a known entity for the XML-parser.  I think you'd better
use a CDATA-section:

<echo file="ps/html/version.tmpl" ><![CDATA[
<html>
...
&copy;
...
]]></echo>

or use a template like Diane suggested.

Stefan

Reply via email to