Using XPath for transformations.
使用XPath进行转换。
Discovering XPath support in PHP.
发现php中的XPath支持。
Understanding the need for xpath.
了解XPath的需求。
Sorting within XPath expressions.
在XPath表达式中排序。
Relative paths work with XPath, too.
相对路径也适用于XPath。
Apply XPath expressions to input data.
对输入数据应用XPath表达式。
Create and evaluate XPath expressions.
创建和计算XPath表达式。
XPath 2 schema-related node tests.
与XPath2模式相关的节点测试。
This tutorial covers XPath Version 1.0.
本教程介绍的是XPath 1.0版。
XPath 2.0 is a very significant upgrade.
XPath 2.0是非常重要的升级。
This creates a shortened XPath expression.
这将创建缩短的XPath表达式。
Use of XPath variables within expressions.
在表达式中使用XPath变量。
Listing 1 defines such an XPath expression.
清单1定义了这样一个XPath表达式。
Add a namespace prefix to XPath expressions.
向XPath表达式添加名称空间前缀。
Configuring and resetting the XPath object.
配置和重置XPath对象。
Conditions can be written using XPath expressions.
条件可以使用XPath表达式编写。
Extract data using standard XPath expressions.
使用标准的XPath提取数据。
The XPath object compiles the XPath expression
XPath对象编译 XPath表达式
Expressions and conditionals specified using xpath.
使用XPath指定的表达式和条件。
Create an XPath object from the loaded document.
在所加载的文件中创建XPath对象。
Specifically, I enabled the following XPath features.
具体地说,我启用了以下xpath特性。
Context variables can also contain XPath expressions.
上下文变量还可以包含XPath表达式。
Automatically populating fields with XPath expressions.
使用XPath表达式自动填充字段。
XPath 1.0: Read the formal definition of XPath in the original specification.
XPath 1.0:查阅原始规范中对XPath的正式定义。
When using XPath with PHP XML-related libraries, the XPath syntax is the same.
当联合使用XPath和PHPXML相关库时,XPath语法是相同的。
If the xpath expression specified is invalid, an xpath-valid error is reported.
如果指定的xpath表达式是无效的,将报告xpath - valid错误。
For a match XPath expression, use the XPath axis preceding to choose the first one.
对于matchXPath表达式,使用xpath轴preceding来选择第一个元素。
You won't create variables in XPath, for example, and you won't run an XPath program.
在XPath中不会创建变量,比方说不可能运行一个XPath程序。
The XPath expression interpreter to evaluate XPath expressions and return their values
用于对XPath表达式求值并返回这些值的 XPath表达式解释器
This article will use examples focused on XPath 1.0 but will also work with XPath 2.0.
本文使用的示例主要针对XPath 1.0,但是也可用于XPath 2.0。
应用推荐