apache > xmlbeans.apache.org
XMLBeans
 

Any Sample

Description

Author: Steve Traut

Available: 2005-07-08

Versions: xmlbeans-1.0.3, xmlbeans-v2

This sample illustrates how you can use the XMLBeans API to work with XML based on schema that features xs:any particles. Unlike other schema types, xs:any in schema does not result in accessors when you use XMLBeans to compile schema. Instead, your code must use alternate means to access and create these parts of the XML.

Files