目录Table of Contents
1 绪论Introduction
2 基础Basics
2.1 表达式语境Expression Context
2.1.1 静态语境Static Context
2.1.2 动态语境Dynamic Context
2.2 过程模型Processing Model
2.2.1 数据模型生成Data Model Generation
2.2.2 模式输入处理Schema Import Processing
2.2.3 表达式处理Expression Processing
2.2.3.1 静态分析阶段Static Analysis Phase
2.2.3.2 动态求值阶段Dynamic Evaluation Phase
2.2.4 串行化Serialization
2.2.5 一致性约束Consistency Constraints
2.3 文档Documents
2.3.1 文档次序Document Order
2.3.2 原子化Atomization
2.3.3 有效的布尔值Effective Boolean Value
2.3.4 输入源Input Sources
2.4 类型Types
2.4.1 预定义类型Predefined Types
2.4.2 键入值和字符串值Typed Value and String Value
2.4.3 序列类型语法SequenceType Syntax
2.4.4 序列类型匹配SequenceType Matching
2.4.4.1 Matching a SequenceType and a Value
2.4.4.2 数据项Matching an ItemType and an Item
2.4.4.3 元素测试Element Test
2.4.4.4 模式元素测试Schema Element Test
2.4.4.5 属性测试Attribute Test
2.4.4.6 模式属性测试Schema Attribute Test
2.5 错误处理Error Handling
2.5.1 错误的种类Kinds of Errors
2.5.2 处理动态错误Handling Dynamic Errors
2.5.3 错误和优化Errors and Optimization
2.6 可选特性Optional Features
2.6.1 模式输入特性Schema Import Feature
2.6.2 静态键入特性Static Typing Feature
2.6.3 全轴特性Full Axis Feature
2.6.4 模块特性Module Feature
2.6.5 注记Pragmas
2.6.6 必须懂得的扩展Must-Understand Extensions
2.6.6.1 标记XQuery Flagger
2.6.7 静态键入扩展Static Typing Extensions
2.6.7.1 静态标记XQuery Static Flagger
2.7 注解Comments
3 表达式Expressions
3.1 基本表达式Primary Expressions
3.1.1 字面值Literals
3.1.2 变量引用Variable References
3.1.3 扩入括号的表达式Parenthesized Expressions
3.1.4 上下文相关项目表达式Context Item Expression
3.1.5 函数调用Function Calls
3.2 路径表达式Path Expressions
3.2.1 步骤Steps
3.2.1.1 轴Axes
3.2.1.2 节点测试Node Tests
3.2.2 谓词Predicates
3.2.3 全文拼写的语法Unabbreviated Syntax
3.2.4 简写的语法Abbreviated Syntax
3.3 序列表达式Sequence Expressions
3.3.1 构造序列Constructing Sequences
3.3.2 过滤器表达式Filter Expressions
3.3.3 组合节点序列Combining Node Sequences
3.4 算术表达式Arithmetic Expressions
3.5 比较表达式Comparison Expressions
3.5.1 数值比较Value Comparisons
3.5.2 一般比较General Comparisons
3.5.3 节点比较Node Comparisons
3.6 逻辑表达式Logical Expressions
3.7 构造器Constructors
3.7.1 直接元素构造器Direct Element Constructors
3.7.1.1 属性Attributes
3.7.1.2 名域声明属性Namespace Declaration Attributes
3.7.1.3 内容Content
3.7.1.4 元素内容中的空白Whitespace in Element Content
3.7.2 其他直接构造器Other Direct Constructors
3.7.3 计算构造器Computed Constructors
3.7.3.1 计算元素构造器Computed Element Constructors
3.7.3.2 计算属性构造器Computed Attribute Constructors
3.7.3.3 文档节点构造器Document Node Constructors
3.7.3.4 文本节点构造器Text Node Constructors
3.7.3.5 计算处理指令构造器Computed Processing Instruction Constructors
3.7.3.6 计算注解构造器Computed Comment Constructors
3.7.4 一个构造元素的名字空间作用域In-scope Namespaces of a Constructed Element
3.8 FLWOR表达式FLWOR Expressions
3.8.1 For和Let子句For and Let Clauses
3.8.2 Where子句Where Clause
3.8.3 Order By和Return子句Order By and Return Clauses
3.8.4 实例Example
3.9 有序的和无序的表达式Ordered and Unordered Expressions
3.10 条件表达式Conditional Expressions
3.11 量化表达式Quantified Expressions
3.12 序列类型表达式Expressions on SequenceTypes
3.12.1 Instance Of
3.12.2 Typeswitch
3.12.3 Cast
3.12.4 Castable
3.12.5 Constructor Functions
3.12.6 Treat
3.13 验证表达式Validate Expressions
3.13.1 验证元素节点Validating an Element Node
3.13.2 验证文档节点Validating a Document Node
4 模块与序言Modules and Prologs
4.1 版本声明Version Declaration
4.2 模块声明Module Declaration
4.3 Xmlspace Declaration
4.4 缺省检验声明Default Collation Declaration
4.5 基础URL声明Base URI Declaration
4.6 构造声明Construction Declaration
4.7 缺省名字空间声明Default Namespace Declaration
4.8 缺省排序声明Default Ordering Declaration
4.9 模式输入Schema Import
4.10 模块输入Module Import
4.11 名字空间声明Namespace Declaration
4.12 变量声明Variable Declaration
4.13 函数声明Function Declaration
A XQuery语法XQuery Grammar
A.1 扩充的巴柯斯范式EBNF
A.1.1 语法注释Grammar Notes
A.2 词法结构Lexical structure
A.2.1 终结符类型Terminal Types
A.2.2 空白规则Whitespace Rules
A.2.2.1 默认空白处理Default Whitespace Handling
A.2.2.2 明确空白处理ExplicitSpecial Whitespace Handling
A.2.3 注解、注记和扩展Comments, Pragmas and Extensions
A.2.4 词法规则Lexical Rules
A.3 保留的函数名Reserved Function Names
A.4 优先次序Precedence Order
B Type Promotion and Operator Mapping
B.1 类型提升Type Promotion
B.2 运算符映射Operator Mapping
C 语境组件Context Components
C.1 静态语境组件Static Context Components
C.2 动态语境组件Dynamic Context Components
C.3 串行化参数Serialization Parameters
D 参考文献References
D.1 标准参考Normative References
D.2 非标准参考Non-normative References
D.3 非标准背景参考Non-normative Background References
D.4 非标准资料提供Non-normative Informative Material
E 词汇表Glossary
F 错误条件汇总(非标准)Summary of Error Conditions (Non-Normative)
G 实例应用(非标准)Example Applications (Non-Normative)
G.1 连接Joins
G.2 分组Grouping
G.3 顺序查询Queries on Sequence
G.4 递归变换Recursive Transformations
G.5 选择清楚的组合Selecting Distinct Combinations
H XPath 2.0 and XQuery 1.0 Issues (Non-Normative)
I 修订记录(非标准)Revision Log (Non-Normative)
I.1 23 July 2004
本文地址:http://com.8s8s.com/it/it44132.htm