Hi,

We need to build a Java bean from an XML snippet like the following:

<user property="name">Superman</person>

The XML is imposed by an external source. How can rules be defined in
digester to load two properties for a bean called user?

User {
  private String property; // mapped from attribute "property"
  private String value; // mapped from XML tag content
}

Regards,
Marius Hanganu

Reply via email to