September 2002
Intermediate to advanced
1008 pages
22h 3m
English
Only an annotation element can contain appinfo elements. The appinfo elements support automated processing of annotations—a discussion beyond the scope of this book. The following example demonstrates that the schema might support a mechanism for automatically creating source code that mirrors the XML schema document. One could, for example, create a program that extracts objects from the XML schema document in which each object mirrors a schema component. Listing 7.3 contains an annotation element, which encloses several appinfo elements. The following is a suitable excerpt:
<xsd:appinfo source= "http://www.XMLSchemaReference.com/examples/java/extractJava"> // A PMB is a "Private Mail Box" that is provided // by an ...
Read now
Unlock full access