Hi Brian,

thanks a lot for your help. Indeed your suggestion

On Fri, 05 Oct 2007, Brian Agnew wrote:

> [...] 
> I got the below to work by doing this:
> 
> <insert path="/"><![CDATA[${test}]]>
> </insert>
> 
> which removes any leading spaces. I think this should work in a similar
> fashion for you.
> [...]

fixed my problem. A nice addition to xmltask's capabilities would be a
sourceproperty attribute (there's already source and sourcebuffer) in case
xmltask's input comes from another Ant task (e.g. <java>) that stores it's
output in a property. What's your impression on that?

A still better way would be some sort of an implementation of the pipe
concept within Ant itself (in a way it's used in e.g. Unix shells) so that
you can use the output of one Ant task/target as the input source for
another Ant task/target. I asked about that on the Ant user mailing list but
it doesn't seem to exist. (Unless there's some optional Ant task I'm not aware
of that provides that functionality). Are you aware of such a task?

Thanks in advance for any info!

Kind regards,

        Holger

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to