(forwarded due to mail problems) -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd brian @ oopsconsultancy.com Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012
--- Begin Message ---A very quick test with your XML and the following: <target name="abc"> <xmltask source="input.xml"> <copy path="/:application/:module/@id" attrvalue="true" property="dn_value"/> </xmltask> <echo>${dn_value}</echo> </target> gives me WebModule_1213257640343 which appears to be correct. In the XPath examples you're looking at, the chances are they don't involve namespaces. If your example contains namespaces (e.g. in the below) then you have to qualify your XML appropriately. The colon indicates the 'local' name of the XML node (i.e. not including the namespace qualifier) and so XPath can resolve your XPath query. Note that this is handled entirely by the XML mechanism in the Java runtime and is not specific to XMLTask. Hope that's of use! Brian Brian Agnew Hybrids IT Development Global Derivatives Team Direct +44 (0)20 7475 8259 PO Box 52715, 30 Gresham Street, London EC2P 2XY -------------------------------------------------------------------------------- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.dresdnerkleinwort.com/disc/email/ or contact the sender. --------------------------------------------------------------------------------
--- End Message ---
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Xmltask-users mailing list Xmltask-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xmltask-users