Tamino XQuery User Guide - Software AG Documentation
Tamino XQuery User Guide - Software AG Documentation
Tamino XQuery User Guide - Software AG Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Table of Contents<br />
Preface ................................................................................................................................ v<br />
I First Steps ......................................................................................................................... 1<br />
1 Sample bib ............................................................................................................... 3<br />
2 Sample reviews ....................................................................................................... 5<br />
3 Query Examples ...................................................................................................... 7<br />
Using Constructors ............................................................................................ 8<br />
Basic FLWOR Expressions ................................................................................. 9<br />
Using Filters ..................................................................................................... 10<br />
Sorting .............................................................................................................. 12<br />
Joining .............................................................................................................. 14<br />
Text Retrieval .................................................................................................... 15<br />
Updating Documents ....................................................................................... 16<br />
II The Concepts of <strong>XQuery</strong> ............................................................................................... 21<br />
4 The Nuts and Bolts of <strong>XQuery</strong> .............................................................................. 23<br />
Expressions and Sequences .............................................................................. 24<br />
Retrieving Data ................................................................................................ 25<br />
Constructors ..................................................................................................... 26<br />
Path Expressions .............................................................................................. 27<br />
Data Types ........................................................................................................ 29<br />
Functions .......................................................................................................... 30<br />
5 FLWOR Expressions .............................................................................................. 33<br />
6 Performing Update Operations ............................................................................. 37<br />
Inserting Nodes ................................................................................................ 38<br />
Deleting Nodes ................................................................................................. 39<br />
Renaming Nodes .............................................................................................. 40<br />
Replacing Nodes .............................................................................................. 40<br />
Using FLWU Expressions ................................................................................. 41<br />
Schema Conformance ....................................................................................... 42<br />
Conflicts ............................................................................................................ 43<br />
Security ............................................................................................................. 47<br />
7 Calling <strong>XQuery</strong> through a Web Service ................................................................ 49<br />
Setting Preferences ........................................................................................... 50<br />
Using the Wizard ............................................................................................. 53<br />
Using the Generated Web Service .................................................................... 59<br />
8 CRUD Usage of a <strong>Tamino</strong> Doctype as a Web Service ........................................... 61<br />
Setting Preferences ........................................................................................... 94<br />
Using the Wizard ............................................................................................. 65<br />
Using the Generated Web Service .................................................................... 72<br />
9 Advanced Usage .................................................................................................... 75<br />
Namespaces ...................................................................................................... 76<br />
<strong>User</strong>-Defined Functions ................................................................................... 77<br />
Defining and Using Modules ........................................................................... 78<br />
Serializing Query Results ................................................................................. 80<br />
iii