Configuration File Example

The following is an example of a configuration file for a framework consisting of two schemas:

   <bindings version="1.0">
     <schemaBindings
      schemaLocation=
         "http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd">
        <sourceFile>C:\XBinder\dev\xsd\SOAP\envelope.xsd</sourceFile>

        <prefix>SOAP_</prefix>

        <nodeBindings node="//xsd:element[@name='myGlobalElem']">
           <prefix>GE_</prefix>
           <ctype>numeric</ctype>
        </nodeBindings>
   </schemaBindings>

   <schemaBindings schemaLocation="core-schema.xsd">

      <nodeBindings node="//xsd:element[@name='Manifest']">
         <prefix>Dsig</prefix>
      </nodeBindings>

      <nodeBindings name="personnelRecord">
         <prefix>ZZZ_</prefix>
      </nodeBindings>

      <nodeBindings node="//xsd:complexType[@name='Dss_Parms']">
         <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>