Thanks Gilbert...
I have now got this...
<xmltask source="${local.path}GetAllQuestions.xml">
<call path="//*">
<actions>
<echo>img = @{img}</echo>
</actions>
</call>
</xmltask>
which returns:
BUILD FAILED
C:\Work\LSIS\Brain Games\Main\ant\update_offline.xml:77: required attribute
img not set
But... If I do
<xmltask source="${local.path}GetAllQuestions.xml">
<call path="//*">
<!-- target="getMedia" buffer="abc"-->
<actions>
<echo>img = @{img}</echo>
</actions>
</call>
</xmltask>
I get back:
[echo] img = /brain_games_main/Image.ashx?ID=647
[echo] img = /brain_games_main/Image.ashx?ID=647
[echo] img = /brain_games_main/Image.ashx?ID=647
[echo] img = /brain_games_main/Image.ashx?ID=647
[echo] img = /brain_games_main/Image.ashx?ID=647
[echo] img = /brain_games_main/Image.ashx?ID=647
etc....
Rebhan, Gilbert wrote:
>
>
> P.S. :
>
> <call path="/Question/Answers/*" target="foo">
>
> </call>
>
> will hit all Media=... attributes und /Question/Answers,
> if you need all Media Attributes you need to use =
>
> <call path="//*" target="foo">
>
> </call>
>
>
> Regards, Gilbert
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678002.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]