Hello Experts,

How can I grab the Attribute value from an xml element tag ?

say for example i have my element defined as  :

<DrawBill xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
empcode="NQ">

Now in my java code i would like to access EmpCode . how do i do it ?

I have defined Empcode in Binding.xml as :

<value name="empcode" field="publicationCode" usage="optional" />

and in the Record.java its defined as :

public String publicationCode; and has getters and setters :


Thanks
-------------------------------------------------------------------------
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=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to