TOC PREV NEXT INDEX


Usage



 
<nodeBindings node="xs:string">
 
	[<prefix>xs:token</prefix>]
 
	[<array [maxSize="xs:nonNegativeInteger"/>]]
 
	[<isBigInteger/>]
 
	[<isDynamic/>]
 
	[<ctype> string | numeric </ctype>]
 
	[<nodeBindings>. . .<nodeBindings>]
 
	...
 
</nodeBindings>
 

 
The following attributes are defined for <nodeBindings> node:
node:
An XPath 1.0 expression that identifies the schema node within the referenced schema with which to associate binding declarations.
 


The following customization values are defined in node scope:
prefix:
This is used to specify a prefix that is prepended to all XML names including type names and global element names to form C/C++ type and variables names. It should be a legal C/C++ identifier.
 
array:
This specifies that an array should be used instead of a linked list for repeated elements. The maxSize attribute specifies the maximum size of the array. The default value if not specified is 100.
isBigInteger:
This specifies that this type will be used to store an integer larger than the C or C++ int type on the given system (normally 32 bits) or even the 64-bit integer type if supported (long long, or __int64). A C UTF-8 string type (OSUTF8CHAR*) will be used to hold a textual representation of the value.
 
This qualifier can be applied to either an integer or complex type. In the latter case, all integer elements within the complex type are flagged as big integers.
 
isDynamic:
This indicates that dynamic storage (i.e., pointers) should be used everywhere within the generated types where use could result in lower memory consumption.
ctype
This is used to specify a specific C type be used in place of the default definition generated by the XBinder compiler. Currently, this can be used only for date and time types. XBinder currently generates string types for date, time and dateTime types. It is possible to use a built-in C structure for these types instead of strings. In this case ctype should contain the value numeric for the appropriate nodes.
 
nodeBindings:
Nested nodeBindings declarations to allow more accurate references to enclosed elements such as local elements inside groups (sequence, all, choice, group, etc).


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