Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to register multiple XSD files

beta32cJan 25 2013 — edited Feb 21 2013
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2013
Added on Jan 25 2013
18 comments
6,730 views