开发者

XSD - Validating an XML instance with multiple namespaces

开发者 https://www.devze.com 2023-02-01 15:58 出处:网络
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?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消