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 namespace | schemaLocation = "xsd:anyURI"> <nodeBindings name | node = "xsd:string">* <node bindings declaration> <nodeBindings> </schemaBindings> </bindings>The schemaBindings node has the attribute namespace or schemaLocation to refer to a schema. The namespace attribute is used to specify a schema using its target namespace. The schemaLocation attribute specifices a schema using its physical file location.
The nodeBindings node has the attribute name and node to construct a reference to a node within the schema. The name attribute specifies a node using its QName. The node attribute uses an XPath expression to specify a set of nodes.
An XPath 1.01 expression that identifies the schema node within a schema with which to associate binding declarations.
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 RoadExton, 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 |