Rehi,

replying to my own post since I forgot to mention that I would also like to
be able to add dynamically generated properties to buffers from within
<action>s. I'm talking about <call> fragments like the one given below:

<call path="/build-config/property">
  <param name="name" path="@name" />
  <param name="value" path="@value" />
  <actions>
    <property name="@{name}" value="@{value}" />
    <echo message="Property @{name} is set to @{value}" />
  </actions>
</call>

The interesting thing here is that *both* the property's name *and* its
value are dynamically obtained. To me it seems like the scope of
@{name} and @{value} is delimited to <actions> inside <call>. So, I can't
access them from outside of the <call>.

What can I do if I want to be able to literally add the dynamically
generated <property> elements to an XML file?

Thanks in advance for any hint!

Kind regards,

        Holger

On Fri, 22 Feb 2008, Holger Rauch wrote:

> Hi,
> 
> is it possible to use a buffer created from one particular <xmltask> also in
> other <xmltask>s (e.g. for <copy> operations based on XML nodes obtained via
> <call path="...">)?
> 
> If not, what are possible solutions for creating a new XML document whose
> contents are supposed to be collected from many different <xmltask>s?
> 
> Thanks in advance for any hints/suggestions!
> 
> Kind regards,
> 
>       Holger



> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Xmltask-users mailing list
> Xmltask-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xmltask-users

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to