Detlef Brendle wrote:
Hi,
I would like to use the xmlProperty task to load a list of elements into my
project.
The list looks something like:

A=hello
A.do=true
B=world
B.do=false
C=foo
C.do=true
D=bar
D.do=true
...

The list is static.

How would the XML file look like to load this in my project ?
<properties>
<A do="true">hello</A>
<B do="false">world</B>
<C do="true">bar</C>
<C do="true">bar</C>
...

</properties>

IIRC you have to set the collapseAttributes="true" and not set the root node to be part of the property name.

--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to