我使用XQuery对XML文件进行post XSD验证。我在文件中有一个层次结构,因此"ab“标记可以有一个子元素"bc”,但只能针对"ab“标记中的特定属性值。如何在XSD和XQuery中或在组合中实现这一点?下面是我尝试过的代码:<Check id="1" type="XQuery" title="bc 0) 'bc must be provided
我正在使用氧气XML编辑器学习Xquery,并且打开了它们的一个示例文件:(:The Saxon EE processor must be set in theXQuery transformation scenario for this example. :)
declare base-uri 'file:/Applications/Oxygen%20XML%20Editor/s