XQuery
With the XQuery 1.0 standard, you finally have a tool that will make it much easier to search, extract and manipulate information from XML content stored in databases. This in-depth tutorial not only walks you through the XQuery specification, but also teaches you how to program with this widely an...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Sepastopol, California :
O'Reilly
2007.
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627172206719 |
Tabla de Contenidos:
- Table of Contents; Preface; Contents of This Book; Reading the Syntax Diagrams; Conventions Used in This Book; Using Code Examples; Useful Functions; We'd Like to Hear from You; Acknowledgments; Introduction to XQuery; What Is XQuery?; Capabilities of XQuery; Uses for XQuery; Processing Scenarios; Easing into XQuery; Path Expressions; FLWORs; Adding XML Elements and Attributes; Adding Elements; Adding Attributes; Functions; Joins; Aggregating and Grouping Values; XQuery Foundations; The Design of the XQuery Language; XQuery in Context; XQuery and XPath; XQuery Versus XSLT; XQuery Versus SQL
- XQuery and XML SchemaProcessing Queries; XML Input Documents; The Query; The Context; The Query Processor; The Results of the Query; The XQuery Data Model; Nodes; Node kinds; The node hierarchy; The node family; Roots, documents, and elements; Node identity and name; String and typed values of nodes; Atomic Values; Sequences; Types; Namespaces; Expressions: XQuery Building Blocks; Categories of Expressions; Keywords and Names; Whitespace in Queries; Literals; Variables; Function Calls; Comments; Evaluation Order and Parentheses; Comparison Expressions; General Comparisons
- General comparisons on multi-item sequencesGeneral comparisons and types; Value Comparisons; Node Comparisons; Conditional (if-then-else) Expressions; Conditional Expressions and Effective Boolean Values; Nesting Conditional Expressions; Logical (and/or) Expressions; Evaluation Order of Logical Expressions; Negating a Boolean Value; Navigating Input Documents Using Paths; Path Expressions; Path Expressions and Context; Steps and changing context; Steps; Axes; Node Tests; Node name tests; Node name tests and namespaces; Node name tests and wildcards; Node kind tests; Abbreviated Syntax
- Other Expressions As StepsPredicates; Comparisons in Predicates; Using Positions in Predicates; Understanding positional predicates; The position and last functions; Positional predicates and reverse axes; Using Multiple Predicates; More Complex Predicates; Dynamic Paths; Input Documents; Accessing a Single Document; Accessing a Collection; Setting the Context Node Outside the Query; Using Variables; A Closer Look at Context; Working with the Context Node; Accessing the Root; Adding Elements and Attributes to Results; Including Elements and Attributes from the Input Document
- Direct Element ConstructorsContaining Literal Characters; Containing Other Element Constructors; Containing Enclosed Expressions; Enclosed expressions that evaluate to elements; Enclosed expressions that evaluate to attributes; Enclosed expressions that evaluate to atomic values; Enclosed expressions with multiple subexpressions; Specifying Attributes Directly; Declaring Namespaces in Direct Constructors; Use Case: Modifying an Element from the Input Document; Direct Element Constructors and Whitespace; Boundary whitespace; The boundary-space declaration
- Forcing boundary whitespace preservation