TOC PREV NEXT INDEX


Generated C Encode Functions for Global Elements


For each global element defined within an XSD specification, a special encode function is generated. This is identical to the encode function for XSD types described above except that the name is formed using the element name instead of the type name and the function does not contain an elemName argument. In this case, elemName is set to the name specified in the XSD global element definition. The encode function name prefix in this case is XmlE_ instead of XmlET_ in order to avoid name clashes when types and global elements have the same name.
These functions are the normal entry points when encoding complete XML message instances. All of the sample programs use a global element definition to define the top-level message to be encoded for a particular application.

Copyright © Objective Systems 2002-2008
This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included.

Objective Systems, Inc.

55 Dowlin Forge Road
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