I  have this element in my schema:

<xsd:element name="C2" type="xsd:boolean" fixed="true" minOccurs="0"/>

Both option 1:
<Capability>
<C2/>
</Capability>

And option 2 :
<Capability>
<C2>true</C2>
</Capability>

are legal representantions

How can I generically enforce xmlbeans consuming a document containing a 
multitude of  option 1 to write out an xml document using option 2 ?

Med vennlig hilsen / Best regards,
for Det Norske Veritas AS
Geir Øvsttun
_______________________________
Principal Information Architect
Risk Management Solutions
Information Quality Management (IQM)

Phone/Mobile:  +47 452 49 453
Web: www.dnv.com<http://www.dnv.com/>



**************************************************************************************
The contents of this e-mail message and any attachments are confidential and 
are intended solely for the addressee. If you have received this transmission 
in error, please immediately notify the sender by return e-mail and delete this 
message and its attachments. Any unauthorized use, copying or dissemination of 
this transmission is prohibited. Neither the confidentiality nor the integrity 
of this message can be vouched for following transmission on the Internet.
**************************************************************************************

Reply via email to