Hello,
I have the following XSD snippet:
<xs:element name="ProfanityFilterRequest" type="FilterRequestType" />
<xs:complexType name="FilterRequestType" mixed="true">
<xs:attribute name="response_type" type="responseTypes"
use="optional" />
<xs:attribute name="validate_phone" type="xs:boolean"
use="optional" />
<xs:attribute name="validate_zip" type="xs:boolean"
use="optional" />
<xs:attribute name="bid" type="xs:integer" use="optional" />
<xs:attribute name="country" type="xs:string" use="optional" />
<xs:attribute name="product" type="xs:string" use="required" />
<xs:attribute name="category" type="xs:string" use="optional" />
</xs:complexType>
Now I want to create an object of FilterRequestType and set its attributes
and VALUE so that I get somethign like
<?xml version="1.0" encoding="UTF-8"?>
<ProfanityFilterRequest response_type="text" bid="1" country="US">
foo foo bar</ProfanityFilterRequest>
The class that XmlBeans generates has all the necessary getters and
setters for the attributes, but none for the *VALUE*, how do I go
about setting "foo foo bar" for this Xml object?
Thanks
alessandro ferrucci :)
<[email protected]>