|
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] Looks good here. Also - which Java/Ant version do you
have ? Hello Alain,I've tried your sample and it work fine on my machine.Maybe you can tellwhat version of xmltask you are using, mine is 1.11.4 --I Wayan Saryadahttp://www.saryada.com y!msgr : saryada ________________________________ From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] OnBehalf Of Buffet,Alain (CALYON) Sent: Thursday, May 04, 2006 4:18 PM To: '[email protected]' Subject: [Xmltask-users] problem with <copy> Hello All, I would like to retrieve the value of an attributeinto 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 valuesto 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________Xmltask-users mailing list[email protected]https://lists.sourceforge.net/lists/listinfo/xmltask-users
|
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.
