Reputation: 7327
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
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