You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Manoj Chakkalakkal <Ma...@semagix.com> on 2005/04/25 23:41:13 UTC
Digester beginner question
I have the following XML.
<class>
<student>
<attribute name="id">10</attribute>
<attribute name="name">Mark</attribute>
</student>
<student>
<attribute name="id">11</attribute>
<attribute name="name">Mary</attribute>
</student>
</class>
public class Student{
String id;
String name;
}
How do I write use Commons Digester to set the properties id and name of
the class Student?
I cannot change the structure of XML.
Thank you
-Manoj
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org