XPath 2 schema-related node tests.
与XPath2模式相关的节点测试。
The detailed syntax and semantics of the node tests can be found in the XPath 2 specification in Resources.
详细的节点测试语法和语义参见参考资料中的XPath2规范。
In XPath 2.0, the syntax for node tests is more consistent than it was in XPath 1.0 and is enhanced to include schema-aware support in node selection.
和XPath 1.0相比,XPath 2.0中节点测试的语法更加一致,并在节点选择中加入了对模式敏感(schema - aware)支持。
Also, although the advanced schema-aware processors do support these node tests, they are rare and in practice usually couple the validation with data processing.
另外,虽然高级模式感知处理器确实支持这些节点测试,但它们的数量很少,并且在实际操作中常常耦合了验证过程和数据处理过程。
Despite all of these advantages, the schema-related node tests are barely available for most XSLT or XQuery processors because the majority of processors are basic and do not support the XML schema.
虽然与模式相关的节点测试具有以上这些优点,但是它们不能用于大部分XSLT或XQuery处理器,因为大部分处理器只提供基本功能,不支持XML模式。
Despite all of these advantages, the schema-related node tests are barely available for most XSLT or XQuery processors because the majority of processors are basic and do not support the XML schema.
虽然与模式相关的节点测试具有以上这些优点,但是它们不能用于大部分XSLT或XQuery处理器,因为大部分处理器只提供基本功能,不支持XML模式。
应用推荐