Hi,
-----Original Message----- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 4:01 PM To: Ant Users List Subject: Re: xmltask / xpath > node count /* I think the most recent version is 1.14, but I don't think it affects what you're trying to do. */ that's good news :-) /* <xmltask source="test.xml"> <copy path="count(/module/name/text())" property="name.count"/> </xmltask> <echo>Count = ${name.count}</echo> will do the job and write the correct value into 'name.count'. (the above XPath expression is for my test file - please adapt for your scenario). */ thanks !, finally very simple, somehow i didn't find it in the manual. Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
