XSD - Validating an XML instance with multiple namespaces
What does it mea开发者_StackOverflow社区n if we say that, using XSD, we can validate XML documents that contain multiple namespaces. Does this make sense?
Thanks
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
精彩评论