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

Reply via email to