开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜