ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jowie <joe.n...@mac.com>
Subject RE: RegExp help needed!
Date Mon, 07 Dec 2009 15:41:24 GMT

Hopefully it will work this time... This is my code:

<![CDATA[

<target name="downloadQuestionImages">
    <xmltask source="${local.path}GetAllQuestions.xml">
        <call path="//@Media" buffer="media">
            
            <actions>
                <echo>img = @{img}</echo>
            </actions>
        </call>
    </xmltask>
</target>

]]>

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

Sorry everyone for the repeat postings! I'm really starting to scratch my
head sore on this one! :-/
-- 
View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679059.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message