Simon Baker wrote:
> Problem:
> Retrieve a number of properties from a given XML file.
> Some tags are repeated in the XML file, for instance:
> <b>
>   <a> one </a>
>   <a> two </a>
>   <a> three </a>
> </b>
> The property 'b.a' in ant should be set to 'one,two,three'
> 
> Known solutions:
> 1. With xsl I have managed to convert the xml file to property file and then
> simple load the property file. This is not ideal.
> 2. Use XMLProperty, I however could not get it to handle repetitive tags as
> in the above example.
> 3. Write my own ant command, to retrieve repetitive tags.
> 
> Any better ideas?

Added a patch to do as you ask :-)

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12045

-- 
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