Hello, I try to get an attribute value from a XML file (getting the text() value was no problem).
My XML file: <123> <345 name="a">1</345> <345 name="b">2</345> <345 name="c" test="g">3</345> </123> My xml task code for reading the text value (this works): <xmltask source="test.xml" > <call path="/123"> <param name="val" path="345/text()"/> <actions> <echo>val = @{val}</echo> </actions> </call> </xmltask> But how can I read the attribute value for "name"? I've tried something like this: <xmltask source="test.xml" > <call path="/123"> <param name="val" path="3...@name]"/> </xmltask> Thank a lot. Regards Marco ------------------------------------------------------------------------------ _______________________________________________ Xmltask-users mailing list Xmltask-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xmltask-users