i am parsing an xml file using the digester , where i set the subelements to the variables of the bean using the pattern
like (" root\subelements\subsubelements ","xyz");
where xyz is the variable in the bean , and how do i set the attributes of the element to the variable in the bean like that ,
I mean what is the pattern and method i need to use in order to do so ?
<student name="JavaGirl" division="B">
<course>
<id>C3</id>
<name>EJB</name>
</course>
</student>
here how do i set the name and division to the variables in the bean ?