TOC PREV NEXT INDEX


ComplexContent


The XSD ComplexContent type <xsd:complexContent> is used to create a modified version of a base type through extension or restriction mechanisms. It is similar in concept to creating derived types in Java or C++. ComplexContent is handled differently depending on whether C or C++ code is being generated. For C, the type is converted into a C structured type containing a base element (base) and, optionally, an extensions element (ext) and additional attribute elements. The extension element will only appear if the extension mechanism is used to add additional elements to an existing content model group (sequence, all, or choice).
For C++, the inheritance mechanism is used to extend the base class. Extension elements will appear directly in the derived class.

Objective Systems, Inc.

102 Pickering Way, Suite #506
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX