The following is an example of a configuration file for a framework consisting of two schemas:
<bindings version="1.0"> <schemaBindings schemaLocation= "http://www.example.org/whizbang/schema/sales.xsd"> <sourceFile>C:\XBinder\xsd\whizbang\sales.xsd</sourceFile> <!-- Names for this schema prefixed with SALES_ --> <prefix>SALES_</prefix> <!-- Any element named myGlobalElem is given a prefix and forced to an unsigned 16-bit integer representation. --> <nodeBindings node="//xsd:element[@name='myGlobalElem']"> <prefix>GE_</prefix> <cstype>uint16</ctype> </nodeBindings> </schemaBindings> <schemaBindings schemaLocation="product.xsd"> <nodeBindings node="//xsd:element[@name='Product']"> <prefix>prod</prefix> </nodeBindings> <!-- Any type or element named itemRecord is given a prefix --> <nodeBindings name="itemRecord"> <prefix>ZZZ_</prefix> </nodeBindings> <!-- Force all elements p, q, r defined anywhere under type ProductType to be represented as System.Decimal/java.math.BigInteger --> <nodeBindings node="//xsd:complexType[@name='ProductType']"> <nodeBindings node=".//xsd:element[@name='p']"> <isBigInteger/> </nodeBindings> <nodeBindings node=".//xsd:element[@name='q']"> <isBigInteger/> </nodeBindings> <nodeBindings node=".//xsd:element[@name='g']"> <isBigInteger/> </nodeBindings> </nodeBindings> </schemaBindings> </bindings>