Oedum
Oedum

Reputation: 816

Include dll in a xml schema

I am trying to avoid having a project containing all my schemas, and therefor I am trying to make one project for each schema. But the schemas need to to include each other.

Is it even possible to include a dll in a schema??

I have tried:

<xs:include schemaLocation="examplefile.dll" />

But it does not work.

Upvotes: 1

Views: 622

Answers (2)

magnus
magnus

Reputation: 833

To import a schema from another BizTalk project you use the imported schemas type-name as the schemaLocation.

schema import from another assembly

If you do not want to use the built in schema editor to do the import for you and you are unsure on the type-name it is easily found in the "Fully Qualified Name" property of the schema as show here:

find the schema type-name

Upvotes: 3

Nigel B
Nigel B

Reputation: 3597

Not sure why you'd want to do that but you can reference each schema project in VS e.g.:

enter image description here

and then import or include the required schema thus:

enter image description here

Upvotes: 0

Related Questions