I tried different versions of Ant

 

It works with version 1.6.1 and 1.6.5 but not with the version 1.6.2

 

Unfortunately, the embedded version of ant used by NetBeans IDE 4.1 is the 1.6.2

 

I change the settings and now it's ok

 

 

Thanks for your help

Alain

 


De : Brian Agnew [mailto:[EMAIL PROTECTED]
Envoyé : Thursday, May 04, 2006 2:44 PM
À : Buffet, Alain (CALYON)
Cc : xmltask-users@lists.sourceforge.net
Objet : Re: [Xmltask-users] problem with <copy>

 

Looks good here. Also - which Java/Ant version do you have ?

I Wayan Saryada wrote:

Hello Alain,
 
I've tried your sample and it work fine on my machine.
Maybe you can tell
what version of xmltask you are using, mine is 1.11.4 
 
 
--
I Wayan Saryada
http://www.saryada.com 
y!msgr : saryada 
 
 
 
 
________________________________
 
        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Buffet,
Alain (CALYON)
        Sent: Thursday, May 04, 2006 4:18 PM
        To: 'xmltask-users@lists.sourceforge.net'
        Subject: [Xmltask-users] problem with <copy>
        
        
 
        Hello All, 
 
        I would like to retrieve the value of an attribute
into a property 
 
        This is my source document: 
 
        <?xml version="1.0"?> 
        <trades rate="4.47"/> 
 
 
        I try this: 
 
                <xmltask source="work/test.xml"> 
                    <copy path="/trades/@rate" 
                          attrValue="true" 
                          property="my_rate"/> 
                </xmltask>    
 
 
        It doesn't work and I receive the message: 
 
        Can only copy/cut text() nodes and attribute values
to properties 
 
 
        Thanks for any help 
        Alain 
 
 
 
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 
 
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users
  



-- 
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd         brian @ oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
Ce message et ses pièces jointes (le "message") est destiné à l'usage    
exclusif de son destinataire.                                            
Si vous recevez ce message par erreur, merci d'en aviser immédiatement   
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant  
être altéré à notre insu,  CALYON Corporate and Investment Bank                 
             
ne peut pas être engagé par son contenu. Tous droits réservés. 
          
This message and/or any  attachments (the "message") is intended for     
the sole use of its addressee.                                            
If you are not the addressee, please immediately notify the sender and    
then destroy the message.  As this message and/or any attachments may 
have been altered without our knowledge,  its content  is not legally 
binding on CALYON Corporate and Investment Bank. All rights reserved.           
                                                     

Reply via email to