Hello Jon,

do not forget that the ant build file is also written in xml.

To do what you want, you need to write this :

<echoxml>
 <test attr="&amp;#10;" />
</echoxml>



Jon Stevens wrote:
> Here is a better example:
>
> <?xml version="1.0"?>
> <project name="test" basedir=".">
> <echoxml>
>  <test attr="&#10;" />
> </echoxml>
> </project>
>
> [8][ //tmp ]% ant
> Buildfile: build.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <test attr="
> " />
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
>
> Not what I was expecting.
>
> jon
>
>
> On Fri, Jun 25, 2010 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to