Joeblackdev
Joeblackdev

Reputation: 7327

XSD - Validating an XML instance with multiple namespaces

What does it mean if we say that, using XSD, we can validate XML documents that contain multiple namespaces. Does this make sense?

Thanks

Upvotes: 1

Views: 983

Answers (1)

Anon
Anon

Reputation: 2674

Yes. There are a lot of reasons why an XML document may have multiple namespaces, but the most common is that it contains structures that are defined by different organizations. The typical way to do this is to use the xs:import directive to combine independent schema documents into one master schema.

For more information, see http://www.w3.org/TR/xmlschema-0/#import

Upvotes: 3

Related Questions