summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Report/2ID45-Report.log9
-rw-r--r--Report/Chapter4.tex4
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
<RSS.png, id=59, 683.55376pt x 473.77pt>
File: RSS.png Graphic file (type png)
<use RSS.png> [15]) [16 <RSS.png (PNG copy)>] (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><C:/Program Files/MiKTeX 2.7/fonts/typ
e1/bluesky/cm/cmsl12.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cm
sy10.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmti12.pfb><C:/Pro
gram Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmtt12.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.