TOC PREV NEXT INDEX


Group


The XSD group type <xsd:group> is used to create a reusable content model group. This is similar in concept to the creation of a standalone type and is handled in the C or C++ language mapping as such. A group declaration is translated into a C type or C++ class definition. This type definition is then used in places where the group is referenced.
The general mapping is as follows:
XSD type:
<xsd:group name="TypeName">
 
   XSD content group definition ..
 
</xsd:group>
 

 
Generated C code:
typedef struct TypeName {
group type definition..
} TypeName;
 
Generated C++ code:
class TypeName : public OSBaseType {
group type definition..
} ;
 


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