From ef54dae17fe6833dabdc7d22cb5644ed2a49661b Mon Sep 17 00:00:00 2001 From: Wilrik de Loose Date: Mon, 26 May 2008 21:39:46 +0000 Subject: --- Report/2ID45-Report.log | 9 ++------- Report/Chapter4.tex | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Report/2ID45-Report.log b/Report/2ID45-Report.log index 0897612..70ebe0e 100644 --- a/Report/2ID45-Report.log +++ b/Report/2ID45-Report.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2008.4.2) 26 MAY 2008 23:33 +This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2008.4.2) 26 MAY 2008 23:37 entering extended mode **D:/My*Documents/TUe/2id45/Report/2ID45-Report.tex ("D:/My Documents/TUe/2id45/Report/2ID45-Report.tex" @@ -318,11 +318,6 @@ Underfull \hbox (badness 10000) in paragraph at lines 237--238 File: RSS.png Graphic file (type png) [15]) [16 ] (Chapter4.tex -Underfull \hbox (badness 10000) in paragraph at lines 3--4 - - [] - - Underfull \hbox (badness 10000) in paragraph at lines 7--8 [] @@ -375,7 +370,7 @@ TeX 2.7/fonts/type1/bluesky/cm/cmr17.pfb> -Output written on 2ID45-Report.pdf (19 pages, 254068 bytes). +Output written on 2ID45-Report.pdf (19 pages, 253934 bytes). PDF statistics: 102 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 131072) diff --git a/Report/Chapter4.tex b/Report/Chapter4.tex index 8d49a7c..42bec06 100644 --- a/Report/Chapter4.tex +++ b/Report/Chapter4.tex @@ -1,6 +1,6 @@ \section{XQuery and XPath} -The XQuery and XPath queries used in the Pottepei application gather and update the information stored in the XML database. This chapter deals with those queries and explains how they are build up and what the reproduce. \\ +The XQuery and XPath queries used in the Pottepei application gather and update the information stored in the XML database. This chapter deals with those queries and explains how they are build up and what the reproduce. \subsection{Retrieve data} @@ -8,7 +8,7 @@ To retrieve data about any liquor or recipe the application needs to perform a q The query for this is therefor very simple: -$$ //\text{item} $$ +$$ \text{//item or: /descendant-or-self/item} $$ This query gets all the "items" from the database. We know that there is only one "items" node so the application walks trough all child-nodes of the result. The code snippet below show a brief example on how to retrieve the title of all items. -- cgit v0.12