Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to set CDATA in property.

How to set CDATA in property.

2005-05-05       - By Nir Geier

Hi all,

I wonder how can I set
<property ... value="<!CDATA[[ ...]]>"/>

as far as I know there are 2 possible solutions:

1. use property file.
2. set the XMl escape characters

ex. if I need something like:
old text: ...   "some text "here". more - special characters <here >"
new text will be: "some text &#34;here&#34;. more - special characters &#60
;here &#62;"

I wonder if I can use CDATA in property value?

Thank u all in Advance.

Nir Geier.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.