TOC PREV NEXT INDEX


Binding Declaration


The configuration file format enables customized binding without requiring modification of the source schema. The schema component to which the binding declaration applies must be identified explicitly. Minimally, a configuration file is of the following format.

<bindings version="1.0">
 
   <schemaBindings schemaLocation = "xsd:anyURI">
 
      <nodeBindings node = "xsd:string">*
 
          <node bindings declaration>
 
      <nodeBindings>
 
   </schemaBindings>
 
</bindings>
 

The schemaBindings node has the attribute schemaLocation to refer to a schema. The nodeBindings node has the attribute node to construct a reference to a node within the schema. The binding declaration is applied to this node by the binding compiler. The attribute values are interpreted as follows:

schemaLocation:
A URI reference to an XML schema document.

 
node:
An XPath 1.01 expression that identifies the schema node within a schema with which to associate binding declarations.
1XML Path Language (XPath) Version 1.0 (http://www.w3.org/TR/xpath)

An example of a configuration file can be found in the section "Configuration File Example".


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