Re: Schema Includes Another Schema
- From: "Bob Beauchemin" <bobb_no_spam@xxxxxxxxxxxxx>
- Date: Sun, 7 Jan 2007 17:29:20 -0800
This works in SQL Server 2005 using the xsd:import production in your
TradingPartnerProvider.xsd and TradingPartnerSubmitter.xsd. SQL Server uses
XML schema collections, so they all live in the same XML schema collection.
The requirement is that TradingPartnerCommon.xsd must be cataloged first, or
all of the XML schemas must be added to the XML Schema Collection in one
large XML variable or literal schema (string).
Cheers,
Bob Beauchemin
http://www.SQLskills.com/blogs/bobb
"Neal Walters" <NealWalters@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:56B69EC6-4E66-4D05-B174-445B2BFC8B70@xxxxxxxxxxxxxxxx
I would like to build a schema with Biztalk, then use to define as an XML
column.
The trick is that I want to use nested schemas. For example, I want to
create a schema called TradingPartnerCommon.xsd, then include that in two
other schemas: 1) TradingPartnerProvider.xsd and 2)
TradingPartnerSubmitter.xsd. This will allow me to enforce some
commonality
between different types of TradingPartners.
I know in the past from using Stylus Studio, that other products outside
of
Biztalk have problems finding the source for the second schema.
I'm guessing this isn't allowed. Any ideas though?
Thanks,
Neal Walters
http://Biztalk-Training.com
.
- Prev by Date: RE: Thoughts on storing address data with XML data type?
- Next by Date: Re: Schema Includes Another Schema
- Previous by thread: Import XML to SQL 2000
- Next by thread: Re: Schema Includes Another Schema
- Index(es):
Relevant Pages
|