How to register multiple XSD files
beta32cJan 25 2013 — edited Feb 21 2013Hi,
I have a request to register XSD files into Oracle. In my case i understand there is a master .xsd file which calls in a number of other xsd files like below,
<xsd:schema xmlns="http://www.xxx.com/xyz/sample" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pct="http://www.xxx.com/xyz/checktype" targetNamespace="http://www.xxx.com/xyz/sample" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.2">
<xsd:import namespace="http://www.xxx.com/xyz/checktype" schemaLocation="checktype.xsd"/>
<xsd:include schemaLocation="aaaa.xsd"/>
<xsd:include schemaLocation="bbb.xsd"/>
<xsd:include schemaLocation="ccc.xsd"/>
I looked up a number of places and I have oracle command to register XML schema using,
dbms_xmlschema.registerSchema
Can some one let me know how i can register them in Oracle when i have multiple files. I will be using Unix system to connect to oracle. Is there some place like a folder where i need to place or is it going to be multiple lines where i need to specify the list of .xsd files
Thanks,
984145