Define a field in xml, whether it is an element or attribute, or not marshalled at all.
Attribute | Description | Required |
node | values ("attribute"|"element") | No, defaults to "element" |
marshal | boolean whether this field should be part of xml version of this class. | No, defaults to true |
<field name="name" type="string" > <xml node="attribute" / > </field >This will cause class Foo to be marshalled as
<Foo name="John" />whereas no <xml> node would result in
<Foo > <name > John </name > </Foo >
Copyright © 2000,2001,2002 Paul Bethe and Richie Bielak. All rights Reserved.