XQuery:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2007
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XV, 491 S. graph. Darst. |
ISBN: | 9780596006341 0596006349 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV022359684 | ||
003 | DE-604 | ||
005 | 20140206 | ||
007 | t | ||
008 | 070321s2007 d||| |||| 00||| eng d | ||
015 | |a 07,N10,0045 |2 dnb | ||
016 | 7 | |a 983112274 |2 DE-101 | |
020 | |a 9780596006341 |c : EUR 48.00 (freier Pr.) |9 978-0-596-00634-1 | ||
020 | |a 0596006349 |c : EUR 48.00 (freier Pr.) |9 0-596-00634-9 | ||
024 | 3 | |a 9780596006341 | |
035 | |a (OCoLC)164804113 | ||
035 | |a (DE-599)BVBBV022359684 | ||
040 | |a DE-604 |b ger |e rakwb | ||
041 | 0 | |a eng | |
049 | |a DE-473 |a DE-1051 |a DE-706 |a DE-29 |a DE-83 | ||
050 | 0 | |a QA76.73.X56 | |
082 | 0 | |a 006.7 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a 68P05 |2 msc | ||
084 | |a 004 |2 sdnb | ||
084 | |a 68N15 |2 msc | ||
100 | 1 | |a Walmsley, Priscilla |e Verfasser |4 aut | |
245 | 1 | 0 | |a XQuery |c Priscilla Walmsley |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2007 | |
300 | |a XV, 491 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Query languages (Computer science) | |
650 | 4 | |a XML (Document markup language) | |
650 | 0 | 7 | |a XQuery |0 (DE-588)4737681-8 |2 gnd |9 rswk-swf |
655 | 7 | |0 (DE-588)4151278-9 |a Einführung |2 gnd-content | |
689 | 0 | 0 | |a XQuery |0 (DE-588)4737681-8 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Bamberg |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015569031&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-015569031 |
Datensatz im Suchindex
_version_ | 1804136407598366720 |
---|---|
adam_text | Table
of
Contents
Preface
.................................................................xi
1.
Introduction to XQuery
.............................................. 1
What Is XQuery?
1
Easing into XQuery
3
Path Expressions
5
FLWORs
6
Adding XML Elements and Attributes
7
Functions
10
Joins
10
Aggregating and Grouping Values
11
2.
XQuery Foundations
............................................... 12
The Design of the XQuery Language
12
XQuery in Context
13
Processing Queries
15
The XQuery Data Model
17
Types
24
Namespaces
24
3.
Expressions: XQuery Building Blocks
................................. 26
Categories of Expressions
26
Keywords and Names
27
Whitespace in Queries
27
Literals
28
Variables
28
Function Calls
29
Comments
29
Evaluation Order and Parentheses
30
Comparison Expressions
30
Conditional (if-then-else) Expressions
35
Logical (and/or) Expressions
37
4.
Navigating Input Documents Using Paths
............................. 39
Path Expressions
39
Predicates
46
Dynamic Paths
52
Input Documents
52
A Closer Look at Context
55
5.
Adding Elements and Attributes to Results
............................57
Including Elements and Attributes from the Input Document
57
Direct Element Constructors
58
Computed Constructors
68
6.
Selecting and Joining Using FLWORs
.................................72
Selecting with Path Expressions
72
FLWOR Expressions
72
Quantified Expressions
79
Selecting Distinct Values
81
Joins
81
7.
Sorting and Grouping
..............................................85
Sorting in XQuery
85
Grouping
93
Aggregating Values
94
8.
Functions
.........................................................99
Built-in Versus User-Defined Functions
99
Calling Functions
99
User-Defined Functions
103
9.
Advanced Queries
................................................. 110
Copying Input Elements with Modifications
110
Working with Positions and Sequence Numbers
115
Combining Results
118
Using Intermediate XML Documents
119
vi
| Table of Contents
10.
Namespaces and XQuery
...........................................123
XML Namespaces
123
Namespaces and XQuery
127
Namespace Declarations in Queries
128
Controlling Namespace Declarations in Your Results
135
11.
A Closer Look at Types
............................................. 141
The XQuery Type System
141
The Built-in Types
143
Types, Nodes, and Atomic Values
145
Type Checking in XQuery
146
Automatic Type Conversions
147
Sequence Types
151
Constructors and Casting
155
12.
Queries, Prologs, and Modules
..................................... 160
Structure of a Query: Prolog and Body
160
Assembling Queries from Multiple Modules
163
Variable Declarations
166
Declaring External Functions
168
13.
Using
Schemas
with XQuery
........................................ 170
What Is a Schema?
170
Why Use
Schemas
with Queries?
171
W3C XML Schema: A Brief Overview
172
In-Scope Schema Definitions
175
Schema Validation and Type Assignment
178
Sequence Types and
Schemas 183
14.
Static Typing
..................................................... 185
What Is Static Typing?
185
The
Typeswitch
Expression
187
The Treat Expression
189
Type Declarations
190
The zero-or-one, one-or-more, and exactly-one Functions
192
15.
Principles of Query Design
......................................... 193
Query Design Goals
193
Clarity
193
Modularity
196
Table of Contents I
vii
Robustness
196
Error Handling
199
Performance
201
16.
Working with Numbers
............................................204
The Numeric Types
204
Constructing Numeric Values
205
Comparing Numeric Values
206
Arithmetic Operations
207
Functions on Numbers
211
17.
Working with Strings
..............................................213
The xs
:
string Type
213
Constructing Strings
213
Comparing Strings
214
Substrings
216
Finding the Length of a String
217
Concatenating and Splitting Strings
218
Manipulating Strings
220
Whitespace and Strings
222
Internationalization Considerations
223
18.
Regular Expressions
...............................................226
The Structure of a Regular Expression
226
Representing Individual Characters
228
Representing Any Character
229
Representing Groups of Characters
230
Character Class Expressions
233
Reluctant Quantifiers
235
Anchors
236
Back-Re
ferences
237
Using Flags
238
Using Sub-Expressions with Replacement Variables
239
19.
Working with Dates, Times, and Durations
...........................242
The Date and Time Types
242
The Duration Types
246
Extracting Components of Dates, Times, and Durations
248
Using Arithmetic Operators on Dates, Times, and Durations
249
The Date Component Types
252
viii
I Table of Contents
20.
Working with Qualified Names, URIs, and IDs
........................254
Working with Qualified Names
254
Working with URIs
259
Working with IDs
264
21.
Working with Other XML Components
...............................267
XML Comments
267
Processing Instructions
269
Documents
272
Text Nodes
274
XML Entity and Character References
278
CDATA Sections
280
22.
Additional XQuery-Related Standards
...............................282
Serialization
282
XQueryX
284
XQuery Update Facility
285
Full-Text Search
285
XQuery API for Java (XQJ)
287
23.
Implementation-Specific Features
..................................289
Conformance
289
XML Version Support
290
Setting the Query Context
290
Option Declarations and Extension Expressions
291
Specifying Serialization Parameters
293
24.
XQueryforSQLUsers
..............................................294
Relational Versus XML Data Models
294
Comparing SQL Syntax with XQuery Syntax
296
Combining SQL and XQuery
303
SQL/XML
306
25.
XQuery for XSLT Users
.............................................307
XQuery and XPath
307
XQuery Versus XSLT
307
Differences Between XQuery 1.0/XPath
2.0
and XPath
1.0 314
Table of Contents
A. Built-in Function Reference
........................................319
B.
Built-in Types
....................................................411
С
Error Summary
...................................................440
Index
.................................................................465
Table of Contents
|
adam_txt |
Table
of
Contents
Preface
.xi
1.
Introduction to XQuery
. 1
What Is XQuery?
1
Easing into XQuery
3
Path Expressions
5
FLWORs
6
Adding XML Elements and Attributes
7
Functions
10
Joins
10
Aggregating and Grouping Values
11
2.
XQuery Foundations
. 12
The Design of the XQuery Language
12
XQuery in Context
13
Processing Queries
15
The XQuery Data Model
17
Types
24
Namespaces
24
3.
Expressions: XQuery Building Blocks
. 26
Categories of Expressions
26
Keywords and Names
27
Whitespace in Queries
27
Literals
28
Variables
28
Function Calls
29
Comments
29
Evaluation Order and Parentheses
30
Comparison Expressions
30
Conditional (if-then-else) Expressions
35
Logical (and/or) Expressions
37
4.
Navigating Input Documents Using Paths
. 39
Path Expressions
39
Predicates
46
Dynamic Paths
52
Input Documents
52
A Closer Look at Context
55
5.
Adding Elements and Attributes to Results
.57
Including Elements and Attributes from the Input Document
57
Direct Element Constructors
58
Computed Constructors
68
6.
Selecting and Joining Using FLWORs
.72
Selecting with Path Expressions
72
FLWOR Expressions
72
Quantified Expressions
79
Selecting Distinct Values
81
Joins
81
7.
Sorting and Grouping
.85
Sorting in XQuery
85
Grouping
93
Aggregating Values
94
8.
Functions
.99
Built-in Versus User-Defined Functions
99
Calling Functions
99
User-Defined Functions
103
9.
Advanced Queries
. 110
Copying Input Elements with Modifications
110
Working with Positions and Sequence Numbers
115
Combining Results
118
Using Intermediate XML Documents
119
vi
| Table of Contents
10.
Namespaces and XQuery
.123
XML Namespaces
123
Namespaces and XQuery
127
Namespace Declarations in Queries
128
Controlling Namespace Declarations in Your Results
135
11.
A Closer Look at Types
. 141
The XQuery Type System
141
The Built-in Types
143
Types, Nodes, and Atomic Values
145
Type Checking in XQuery
146
Automatic Type Conversions
147
Sequence Types
151
Constructors and Casting
155
12.
Queries, Prologs, and Modules
. 160
Structure of a Query: Prolog and Body
160
Assembling Queries from Multiple Modules
163
Variable Declarations
166
Declaring External Functions
168
13.
Using
Schemas
with XQuery
. 170
What Is a Schema?
170
Why Use
Schemas
with Queries?
171
W3C XML Schema: A Brief Overview
172
In-Scope Schema Definitions
175
Schema Validation and Type Assignment
178
Sequence Types and
Schemas 183
14.
Static Typing
. 185
What Is Static Typing?
185
The
Typeswitch
Expression
187
The Treat Expression
189
Type Declarations
190
The zero-or-one, one-or-more, and exactly-one Functions
192
15.
Principles of Query Design
. 193
Query Design Goals
193
Clarity
193
Modularity
196
Table of Contents I
vii
Robustness
196
Error Handling
199
Performance
201
16.
Working with Numbers
.204
The Numeric Types
204
Constructing Numeric Values
205
Comparing Numeric Values
206
Arithmetic Operations
207
Functions on Numbers
211
17.
Working with Strings
.213
The xs
:
string Type
213
Constructing Strings
213
Comparing Strings
214
Substrings
216
Finding the Length of a String
217
Concatenating and Splitting Strings
218
Manipulating Strings
220
Whitespace and Strings
222
Internationalization Considerations
223
18.
Regular Expressions
.226
The Structure of a Regular Expression
226
Representing Individual Characters
228
Representing Any Character
229
Representing Groups of Characters
230
Character Class Expressions
233
Reluctant Quantifiers
235
Anchors
236
Back-Re
ferences
237
Using Flags
238
Using Sub-Expressions with Replacement Variables
239
19.
Working with Dates, Times, and Durations
.242
The Date and Time Types
242
The Duration Types
246
Extracting Components of Dates, Times, and Durations
248
Using Arithmetic Operators on Dates, Times, and Durations
249
The Date Component Types
252
viii
I Table of Contents
20.
Working with Qualified Names, URIs, and IDs
.254
Working with Qualified Names
254
Working with URIs
259
Working with IDs
264
21.
Working with Other XML Components
.267
XML Comments
267
Processing Instructions
269
Documents
272
Text Nodes
274
XML Entity and Character References
278
CDATA Sections
280
22.
Additional XQuery-Related Standards
.282
Serialization
282
XQueryX
284
XQuery Update Facility
285
Full-Text Search
285
XQuery API for Java (XQJ)
287
23.
Implementation-Specific Features
.289
Conformance
289
XML Version Support
290
Setting the Query Context
290
Option Declarations and Extension Expressions
291
Specifying Serialization Parameters
293
24.
XQueryforSQLUsers
.294
Relational Versus XML Data Models
294
Comparing SQL Syntax with XQuery Syntax
296
Combining SQL and XQuery
303
SQL/XML
306
25.
XQuery for XSLT Users
.307
XQuery and XPath
307
XQuery Versus XSLT
307
Differences Between XQuery 1.0/XPath
2.0
and XPath
1.0 314
Table of Contents
A. Built-in Function Reference
.319
B.
Built-in Types
.411
С
Error Summary
.440
Index
.465
Table of Contents |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Walmsley, Priscilla |
author_facet | Walmsley, Priscilla |
author_role | aut |
author_sort | Walmsley, Priscilla |
author_variant | p w pw |
building | Verbundindex |
bvnumber | BV022359684 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.X56 |
callnumber-search | QA76.73.X56 |
callnumber-sort | QA 276.73 X56 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)164804113 (DE-599)BVBBV022359684 |
dewey-full | 006.7 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 006 - Special computer methods |
dewey-raw | 006.7 |
dewey-search | 006.7 |
dewey-sort | 16.7 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
discipline_str_mv | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01648nam a2200469 c 4500</leader><controlfield tag="001">BV022359684</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20140206 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">070321s2007 d||| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">07,N10,0045</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">983112274</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780596006341</subfield><subfield code="c">: EUR 48.00 (freier Pr.)</subfield><subfield code="9">978-0-596-00634-1</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">0596006349</subfield><subfield code="c">: EUR 48.00 (freier Pr.)</subfield><subfield code="9">0-596-00634-9</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9780596006341</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)164804113</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV022359684</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakwb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-473</subfield><subfield code="a">DE-1051</subfield><subfield code="a">DE-706</subfield><subfield code="a">DE-29</subfield><subfield code="a">DE-83</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.73.X56</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">006.7</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">68P05</subfield><subfield code="2">msc</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">68N15</subfield><subfield code="2">msc</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Walmsley, Priscilla</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">XQuery</subfield><subfield code="c">Priscilla Walmsley</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2007</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XV, 491 S.</subfield><subfield code="b">graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Query languages (Computer science)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">XML (Document markup language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">XQuery</subfield><subfield code="0">(DE-588)4737681-8</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="655" ind1=" " ind2="7"><subfield code="0">(DE-588)4151278-9</subfield><subfield code="a">Einführung</subfield><subfield code="2">gnd-content</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">XQuery</subfield><subfield code="0">(DE-588)4737681-8</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bamberg</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015569031&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-015569031</subfield></datafield></record></collection> |
genre | (DE-588)4151278-9 Einführung gnd-content |
genre_facet | Einführung |
id | DE-604.BV022359684 |
illustrated | Illustrated |
index_date | 2024-07-02T17:02:47Z |
indexdate | 2024-07-09T20:55:55Z |
institution | BVB |
isbn | 9780596006341 0596006349 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-015569031 |
oclc_num | 164804113 |
open_access_boolean | |
owner | DE-473 DE-BY-UBG DE-1051 DE-706 DE-29 DE-83 |
owner_facet | DE-473 DE-BY-UBG DE-1051 DE-706 DE-29 DE-83 |
physical | XV, 491 S. graph. Darst. |
publishDate | 2007 |
publishDateSearch | 2007 |
publishDateSort | 2007 |
publisher | O'Reilly |
record_format | marc |
spelling | Walmsley, Priscilla Verfasser aut XQuery Priscilla Walmsley 1. ed. Beijing [u.a.] O'Reilly 2007 XV, 491 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier Query languages (Computer science) XML (Document markup language) XQuery (DE-588)4737681-8 gnd rswk-swf (DE-588)4151278-9 Einführung gnd-content XQuery (DE-588)4737681-8 s DE-604 Digitalisierung UB Bamberg application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015569031&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Walmsley, Priscilla XQuery Query languages (Computer science) XML (Document markup language) XQuery (DE-588)4737681-8 gnd |
subject_GND | (DE-588)4737681-8 (DE-588)4151278-9 |
title | XQuery |
title_auth | XQuery |
title_exact_search | XQuery |
title_exact_search_txtP | XQuery |
title_full | XQuery Priscilla Walmsley |
title_fullStr | XQuery Priscilla Walmsley |
title_full_unstemmed | XQuery Priscilla Walmsley |
title_short | XQuery |
title_sort | xquery |
topic | Query languages (Computer science) XML (Document markup language) XQuery (DE-588)4737681-8 gnd |
topic_facet | Query languages (Computer science) XML (Document markup language) XQuery Einführung |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=015569031&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT walmsleypriscilla xquery |