【发布时间】:2011-07-22 07:17:07
【问题描述】:
我有一个结构如下的 XML 文档:
<document>
<!-- heading is an element of complexType ns:blockType -->
<heading>
</heading>
<!-- so is paragraph -->
<paragraph>
</paragraph>
<!-- foo, in another namespace, is also of complexType ns:blockType -->
<otherNS:foo>
</otherNS:foo>
</document>
如何将document 的子级限制为blockType 类型?
【问题讨论】:
标签: xml xsd xml-namespaces