Building a RELAX module
-
module...
The
module element contains all of the RELAX declarations:
<module
moduleVersion="1.0"
relaxCoreVersion="1.0"
targetNamespace="http://www.example.com/myNamespace/"
xmlns="http://www.xml.gr.jp/xmlns/relaxCore">
-
versions
The
moduleVersion attribute identifies the version of your module, while relaxCoreVersion identifies which version of RELAX you're using.
-
namespaces
The
targetNamespace attribute identifies the namespace (if any) of the content your RELAX module describes, which xmlns provides the namespace for the RELAX declarations themselves. (QName usage is pretty well discouraged in RELAX.)
-
interfaces
The
interface element identifies possible root elements:
<interface>
<export label="invoice-in" />
<export label="invoice-out" />
</interface>
Previous Page <
TOC
> Next Page