-----Original Message-----
From: Jowie [mailto:[email protected]]
Sent: Monday, December 07, 2009 3:28 PM
To: [email protected]
Subject: RE: RegExp help needed!
/*
[...]
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....
*/
when using <actions> ... </actions> instead
of <all path="..." target="..."> you have to write =
<xmltask source="xpathtest.xml">
<call path="//*">
<param name="img" path="//@Media"/>
<actions>
<echo>img = @{img}</echo>
</actions>
</call>
</xmltask>
to match all Media attributes.
Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]