summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilrik de Loose <wilrik@wilrik.nl>2008-05-26 20:20:30 (GMT)
committerWilrik de Loose <wilrik@wilrik.nl>2008-05-26 20:20:30 (GMT)
commit3c63450e5d51f07aeacb9fa28edb66dc472c1468 (patch)
tree68df4f72df78f4a43181d01e8df6682cb807c3b3
parent6c66662ff6546bb6e5e78d904cfe135f0767529a (diff)
download2id45-3c63450e5d51f07aeacb9fa28edb66dc472c1468.zip
2id45-3c63450e5d51f07aeacb9fa28edb66dc472c1468.tar.gz
2id45-3c63450e5d51f07aeacb9fa28edb66dc472c1468.tar.bz2
chapter 4
-rw-r--r--Report/2ID45-Report.log293
-rw-r--r--Report/Chapter3.aux17
-rw-r--r--Report/Chapter4.tex50
-rw-r--r--Report/Chapter5.tex3
4 files changed, 188 insertions, 175 deletions
diff --git a/Report/2ID45-Report.log b/Report/2ID45-Report.log
index 9a69f8f..84230ee 100644
--- a/Report/2ID45-Report.log
+++ b/Report/2ID45-Report.log
@@ -1,14 +1,14 @@
-This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (preloaded format=latex 2007.10.10) 26 MAY 2008 14:52
+This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7) (preloaded format=pdflatex 2008.4.2) 26 MAY 2008 22:16
entering extended mode
-**2ID45-Report.tex
-(2ID45-Report.tex
-LaTeX2e <2003/12/01>
-Babel <v3.8g> and hyphenation patterns for american, dutch, nohyphenation, load
-ed.
-(C:\MiKTeX\texmf\tex\latex\base\article.cls
-Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
-(C:\MiKTeX\texmf\tex\latex\base\size12.clo
-File: size12.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
+**D:/My*Documents/TUe/2id45/Report/2ID45-Report.tex
+("D:/My Documents/TUe/2id45/Report/2ID45-Report.tex"
+LaTeX2e <2005/12/01>
+Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
+rman, ngerman, french, dutch, loaded.
+("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
+Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
+("C:\Program Files\MiKTeX 2.7\tex\latex\base\size12.clo"
+File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
@@ -22,49 +22,49 @@ File: size12.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
-(C:\MiKTeX\texmf\tex\latex\graphics\graphicx.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
-(C:\MiKTeX\texmf\tex\latex\graphics\keyval.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
-(C:\MiKTeX\texmf\tex\latex\graphics\graphics.sty
-Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
+("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\graphics.sty"
+Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
-(C:\MiKTeX\texmf\tex\latex\graphics\trig.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
-(C:\MiKTeX\texmf\tex\latex\00miktex\graphics.cfg
-File: graphics.cfg 2003/03/12 v1.1 MiKTeX 'graphics' configuration
+("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\graphics.cfg"
+File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
)
-Package graphics Info: Driver file: pdftex.def on input line 80.
+Package graphics Info: Driver file: pdftex.def on input line 90.
-(C:\MiKTeX\texmf\tex\latex\graphics\pdftex.def
-File: pdftex.def 2005/06/20 v0.03m graphics/color for pdftex
+("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\pdftex.def"
+File: pdftex.def 2007/06/12 v0.04h Graphics/color for pdfTeX
\Gread@gobject=\count87
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
-(C:\MiKTeX\texmf\tex\latex\amsmath\amsmath.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
-(C:\MiKTeX\texmf\tex\latex\amsmath\amstext.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01
-(C:\MiKTeX\texmf\tex\latex\amsmath\amsgen.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks15
\ex@=\dimen105
))
-(C:\MiKTeX\texmf\tex\latex\amsmath\amsbsy.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen106
)
-(C:\MiKTeX\texmf\tex\latex\amsmath\amsopn.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count88
@@ -105,17 +105,17 @@ LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
-(C:\MiKTeX\texmf\tex\latex\amsfonts\amsfonts.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\amsfonts.sty"
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
)
-(C:\MiKTeX\texmf\tex\latex\moreverb\moreverb.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\moreverb\moreverb.sty"
Package: moreverb 1997/12/07 v2.2d.2 `more' verbatim facilities
-(C:\MiKTeX\texmf\tex\latex\tools\verbatim.sty
+("C:\Program Files\MiKTeX 2.7\tex\latex\tools\verbatim.sty"
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\every@verbatim=\toks20
\verbatim@line=\toks21
@@ -126,13 +126,13 @@ Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\tab@size=\count101
\listing@line=\count102
)
-(C:\MiKTeX\texmf\tex\latex\graphics\color.sty
-Package: color 1999/02/16 v1.0i Standard LaTeX Color (DPC)
+("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\color.sty"
+Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
-(C:\MiKTeX\texmf\tex\latex\00miktex\color.cfg
-File: color.cfg 2003/03/08 v1.0 MiKTeX 'color' configuration
+("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\color.cfg"
+File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
-Package color Info: Driver file: pdftex.def on input line 125.
+Package color Info: Driver file: pdftex.def on input line 130.
) (2ID45-Report.aux (Chapter1.aux) (Chapter2.aux) (Chapter3.aux) (Chapter4.aux)
(Chapter5.aux))
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
@@ -148,212 +148,169 @@ LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
-(C:\MiKTeX\texmf\tex\context\base\supp-pdf.tex
-(C:\MiKTeX\texmf\tex\context\base\supp-mis.tex
-loading : Context Support Macros / Miscellaneous (2004.10.26)
-\protectiondepth=\count103
-\scratchcounter=\count104
-\scratchtoks=\toks22
+("C:\Program Files\MiKTeX 2.7\tex\context\base\supp-pdf.tex"
+[Loading MPS to PDF converter (version 2006.09.02).]
+\scratchcounter=\count103
\scratchdimen=\dimen114
-\scratchskip=\skip46
-\scratchmuskip=\muskip11
\scratchbox=\box28
-\scratchread=\read2
-\scratchwrite=\write4
-\zeropoint=\dimen115
-\onepoint=\dimen116
-\onebasepoint=\dimen117
-\minusone=\count105
-\thousandpoint=\dimen118
-\onerealpoint=\dimen119
-\emptytoks=\toks23
-\nextbox=\box29
-\nextdepth=\dimen120
-\everyline=\toks24
-\!!counta=\count106
-\!!countb=\count107
-\recursecounter=\count108
-)
-loading : Context Support Macros / PDF (2004.03.26)
-\nofMPsegments=\count109
-\nofMParguments=\count110
-\MPscratchCnt=\count111
-\MPscratchDim=\dimen121
-\MPnumerator=\count112
-\everyMPtoPDFconversion=\toks25
+\nofMPsegments=\count104
+\nofMParguments=\count105
+\MPscratchCnt=\count106
+\MPscratchDim=\dimen115
+\MPnumerator=\count107
+\everyMPtoPDFconversion=\toks22
)
LaTeX Font Info: Try loading font information for U+msa on input line 13.
- (C:\MiKTeX\texmf\tex\latex\amsfonts\umsa.fd
+ ("C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\umsa.fd"
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input line 13.
-(C:\MiKTeX\texmf\tex\latex\amsfonts\umsb.fd
+("C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\umsb.fd"
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
) [1
-{psfonts.map}] (Chapter1.tex
+{C:/Documents and Settings/s052058/Local Settings/Application Data/MiKTeX/2.7/p
+dftex/config/pdftex.map}] (Chapter1.tex
Missing character: There is no in font cmr12!
Missing character: There is no in font cmr12!
-)
-Underfull \hbox (badness 10000) in paragraph at lines 2--18
+
+Underfull \hbox (badness 10000) in paragraph at lines 2--3
[]
-Underfull \hbox (badness 10000) in paragraph at lines 2--18
+Underfull \hbox (badness 10000) in paragraph at lines 4--5
[]
-Underfull \hbox (badness 10000) in paragraph at lines 2--18
+Underfull \hbox (badness 10000) in paragraph at lines 6--7
[]
+) [2
-Underfull \hbox (badness 10000) in paragraph at lines 2--18
+] (Chapter2.tex
+Underfull \hbox (badness 10000) in paragraph at lines 6--27
[]
-[2
-] (Chapter2.tex
-LaTeX Font Info: Try loading font information for OMS+cmr on input line 31.
- (C:\MiKTeX\texmf\tex\latex\base\omscmr.fd
-File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
-)
-LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <12> not available
-(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 31.
-) [3
+Underfull \hbox (badness 10000) in paragraph at lines 6--27
+
+ []
-] (Chapter3.tex
-Underfull \hbox (badness 10000) in paragraph at lines 37--45
+Underfull \hbox (badness 10000) in paragraph at lines 29--37
[]
-<LiquorType.png, id=23, 203.76125pt x 198.7425pt>
-File: LiquorType.png Graphic file (type png)
- <use LiquorType.png> [4
+LaTeX Font Info: Try loading font information for OMS+cmr on input line 38.
+("C:\Program Files\MiKTeX 2.7\tex\latex\base\omscmr.fd"
+File: omscmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
+)
+LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <12> not available
+(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 38.
+ [3
]
-Underfull \hbox (badness 10000) in paragraph at lines 66--74
+<DiagramPottepeiFinal.png, id=15, 568.1225pt x 495.8525pt>
+File: DiagramPottepeiFinal.png Graphic file (type png)
- []
-
-<NewsCategory.png, id=30, 523.9575pt x 198.7425pt>
-File: NewsCategory.png Graphic file (type png)
- <use NewsCategory.png>
-Overfull \hbox (32.30727pt too wide) in paragraph at lines 75--75
+<use DiagramPottepeiFinal.png>
+Overfull \hbox (35.93774pt too wide) in paragraph at lines 63--63
[]
[]
-[5 <LiquorType.png>]
-Overfull \hbox (3.69987pt too wide) in paragraph at lines 94--94
- [] \OT1/cmtt/m/n/12 <guid>http://www.wijnspecialist.be/site/wijnnieuws/op
-[]
+[4]) [5 <DiagramPottepeiFinal.png (PNG copy)>] (Chapter3.tex
+Underfull \hbox (badness 10000) in paragraph at lines 36--44
+
[]
+[6
-Overfull \hbox (9.87488pt too wide) in paragraph at lines 101--101
- [] \OT1/cmtt/m/n/12 <description>BYO (Bring your own) ontstond in de Enge
-l[]
- []
+] <LiquorType.png, id=26, 203.76125pt x 198.7425pt>
+File: LiquorType.png Graphic file (type png)
+ <use LiquorType.png>
+Underfull \hbox (badness 10000) in paragraph at lines 66--74
-Overfull \hbox (3.69987pt too wide) in paragraph at lines 102--102
- [] \OT1/cmtt/m/n/12 stalige landen. In Australi&euml; is het
-[]
[]
-
-Overfull \hbox (16.04988pt too wide) in paragraph at lines 103--103
- [] \OT1/cmtt/m/n/12 zelfs de regel vanwege de torenhoge taks
-en[]
+<NewsCategory.png, id=27, 523.9575pt x 198.7425pt>
+File: NewsCategory.png Graphic file (type png)
+ <use NewsCategory.png>
+Overfull \hbox (2.93257pt too wide) in paragraph at lines 75--75
+ []
[]
+[7 <LiquorType.png (PNG copy)>] [8 <NewsCategory.png (PNG copy)>]
+<DB.png, id=35, 924.45375pt x 554.07pt>
+File: DB.png Graphic file (type png)
+ <use DB.png> [9] [10 <DB.png (PNG copy)>] <rssfeeds.png, id=42, 444.66125pt x
+301.125pt>
+File: rssfeeds.png Graphic file (type png)
+ <use rssfeeds.png>
+Underfull \hbox (badness 10000) in paragraph at lines 199--204
-Overfull \hbox (3.69987pt too wide) in paragraph at lines 105--105
- [] \OT1/cmtt/m/n/12 brengen de mensen hun eigen wijn mee en
-[]
[]
-
-Overfull \hbox (3.69987pt too wide) in paragraph at lines 106--106
- [] \OT1/cmtt/m/n/12 betalen enkel een 'kurkrecht' om die op
-[]
+[11 <rssfeeds.png (PNG copy)>] [12]
+Overfull \hbox (42.25021pt too wide) in paragraph at lines 288--288
+[] \OT1/cmtt/m/n/12 <guid>http://www.goedkoopbier.nl/nieuws/Heineken_Trom_
+Pet</guid>[]
[]
+[13] <RSS.png, id=56, 683.55376pt x 473.77pt>
+File: RSS.png Graphic file (type png)
+ <use RSS.png> [14]) [15 <RSS.png (PNG copy)>] (Chapter4.tex
+Underfull \hbox (badness 10000) in paragraph at lines 3--4
-Overfull \hbox (3.69987pt too wide) in paragraph at lines 107--107
- [] \OT1/cmtt/m/n/12 restaurant te kunnen drinken. Het kurkr
-[]
[]
-Overfull \hbox (3.69987pt too wide) in paragraph at lines 108--108
- [] \OT1/cmtt/m/n/12 echt is een soort vergoeding voor de se
-[]
- []
+Underfull \hbox (badness 10000) in paragraph at lines 7--8
-[6 <NewsCategory.png>] <DB.png, id=37, 924.45375pt x 554.07pt>
-File: DB.png Graphic file (type png)
- <use DB.png>
-Overfull \hbox (29.3747pt too wide) in paragraph at lines 144--144
- []
[]
-[7]
-Overfull \hbox (22.22488pt too wide) in paragraph at lines 159--159
- [] \OT1/cmtt/m/n/12 <Url>http://www.goedkoopbier.nl/rss/drankspellen.xml</U
-rl>[]
- []
-[8 <DB.png>] <rssfeeds.png, id=45, 444.66125pt x 301.125pt>
-File: rssfeeds.png Graphic file (type png)
- <use rssfeeds.png>
-Underfull \hbox (badness 10000) in paragraph at lines 198--203
+Underfull \hbox (badness 10000) in paragraph at lines 29--30
[]
-[9 <rssfeeds.png>]
-Overfull \hbox (0.6098pt too wide) in paragraph at lines 221--222
-[]\OT1/cmr/m/n/12 The news item is al-ready there, but it has dif-fer-ent Liquo
-rTypeID's
- []
+[16
-[10]
-Overfull \hbox (42.25021pt too wide) in paragraph at lines 287--287
-[] \OT1/cmtt/m/n/12 <guid>http://www.goedkoopbier.nl/nieuws/Heineken_Trom_
-Pet</guid>[]
- []
-[11]) [12] (Chapter4.tex) [13
+])
+Underfull \hbox (badness 10000) in paragraph at lines 51--21
+ []
-] (Chapter5.tex) [14
+[17] (Chapter5.tex) [18
-] (2ID45-Report.aux
-(Chapter1.aux) (Chapter2.aux) (Chapter3.aux) (Chapter4.aux) (Chapter5.aux)) )
+] (2ID45-Report.aux (Chapter1.aux) (Chapter2.aux)
+(Chapter3.aux) (Chapter4.aux) (Chapter5.aux)) )
Here is how much of TeX's memory you used:
- 1918 strings out of 95490
- 21096 string characters out of 1188950
- 73507 words of memory out of 1074143
- 4832 multiletter control sequences out of 60000
- 13280 words of font info for 51 fonts, out of 500000 for 1000
- 54 hyphenation exceptions out of 4999
- 27i,6n,22p,241b,324s stack positions out of 1500i,500n,5000p,200000b,32768s
+ 1773 strings out of 95282
+ 20887 string characters out of 1183317
+ 73767 words of memory out of 1500000
+ 4932 multiletter control sequences out of 110000
+ 13981 words of font info for 53 fonts, out of 1200000 for 2000
+ 54 hyphenation exceptions out of 8191
+ 27i,6n,22p,424b,259s stack positions out of 5000i,500n,10000p,200000b,5000s
+<C:/Program Files/MiKTeX 2.7/fon
+ts/type1/bluesky/cm/cmbx12.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky
+/cm/cmmi12.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmr12.pfb><C
+:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmr17.pfb><C:/Program Files/M
+iKTeX 2.7/fonts/type1/bluesky/cm/cmsl12.pfb><C:/Program Files/MiKTeX 2.7/fonts/
+type1/bluesky/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm
+/cmti12.pfb><C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmtt12.pfb>
+Output written on 2ID45-Report.pdf (18 pages, 260469 bytes).
PDF statistics:
- 73 PDF objects out of 300000
- 0 named destinations out of 300000
- 21 words of extra memory for PDF output out of 65536
-<C
-:\MiKTeX\texmf\fonts\type1\bluesky\cm\cmmi12.pfb><C:\MiKTeX\texmf\fonts\type1\b
-luesky\cm\cmsl12.pfb><C:\MiKTeX\texmf\fonts\type1\bluesky\cm\cmti12.pfb><C:\MiK
-TeX\texmf\fonts\type1\bluesky\cm\cmtt12.pfb><C:\MiKTeX\texmf\fonts\type1\bluesk
-y\cm\cmsy10.pfb><C:\MiKTeX\texmf\fonts\type1\bluesky\cm\cmbx12.pfb><C:\MiKTeX\t
-exmf\fonts\type1\bluesky\cm\cmr12.pfb><C:\MiKTeX\texmf\fonts\type1\bluesky\cm\c
-mr17.pfb>
-Output written on 2ID45-Report.pdf (14 pages, 152068 bytes).
+ 98 PDF objects out of 1000 (max. 8388607)
+ 0 named destinations out of 1000 (max. 131072)
+ 31 words of extra memory for PDF output out of 10000 (max. 10000000)
+
diff --git a/Report/Chapter3.aux b/Report/Chapter3.aux
index 6172d6a..c8e48ef 100644
--- a/Report/Chapter3.aux
+++ b/Report/Chapter3.aux
@@ -1,9 +1,16 @@
\relax
-\@writefile{toc}{\contentsline {section}{\numberline {3}XML}{4}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Database XML}{4}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}RSS-Feeds}{9}}
+\@writefile{toc}{\contentsline {section}{\numberline {3}XML}{6}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Database XML}{6}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.1}LiquorTypes.xml}{6}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.2}NewsCategories.xml}{7}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.3}DB.xml}{8}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.4}rssfeeds.xml}{10}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}RSS-Feeds}{11}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}Incomming RSS-feed}{11}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.2}Outgoing RSS-feed}{12}}
+\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.3}The construction of a RSS feed}{13}}
\@setckpt{Chapter3}{
-\setcounter{page}{13}
+\setcounter{page}{16}
\setcounter{equation}{0}
\setcounter{enumi}{5}
\setcounter{enumii}{0}
@@ -14,7 +21,7 @@
\setcounter{part}{0}
\setcounter{section}{3}
\setcounter{subsection}{2}
-\setcounter{subsubsection}{0}
+\setcounter{subsubsection}{3}
\setcounter{paragraph}{0}
\setcounter{subparagraph}{0}
\setcounter{figure}{0}
diff --git a/Report/Chapter4.tex b/Report/Chapter4.tex
index 84c0c16..dcb2b02 100644
--- a/Report/Chapter4.tex
+++ b/Report/Chapter4.tex
@@ -1,3 +1,51 @@
\section{XQuery and XPath}
-\subsection{Poep}
+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}
+
+To retrieve data about any liquor or recipe the application needs to perform a query that gathers all items in the database. From the previous chapter we already saw that the database contains an element "items". In this element all the liquor information of the original RSS feed is stored. \\
+
+The query for this is therefor very simple:
+
+$$ //\text{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.
+
+\begin{verbatim}
+$query = '//item';
+$nodes = $xpath->query($query);
+
+foreach ($nodes as $node)
+{
+ // get title
+ $item = $node->getElementsByTagName("title");
+ $title = $item->item(0)->nodeValue;
+}
+\end{verbatim}
+
+%% \footnote[1]{In PHP, variables are indicated by a prefix dollar-sign.}
+
+The \textit{\$query} keyword denotes a variable which, in this case, is our query to retrieve the items from our database. The \textit{\$nodes = \$xpath$\rightarrow$query(\$query)} line actually performs the query and retrieves the nodes from the database. \\
+
+We then go through each item with the \textit{foreach} statement. Then, from that element, we get the title with the \textit{getElementsByTagName()} function. This gives us again a XML tree with nodes. We know that there is only one title, so we get the value of that node with \textit{\$item$\rightarrow$item(0)$\rightarrow$nodeValue}.
+
+\subsection{Search queries}
+
+The search the database for your favorite beer, you can fill in a small search-form. The PHP script will then return all items that apply yo the search query. Such a query is shown below.
+
+$$ \textit{//item[contains(title/text(), "bier") or contains(descr/text(), "bier")]} $$
+$$ \textit{[LiquorTypeID/text()="2"][NewsCategoryID/text()="2"]} $$
+
+The query begins the same as that of the previous query. The main difference here are the extra filters applied to the query. It checks if either the title or description of the news-item contains a string with the XPath function $ contains $ which returns a boolean value. It also check the type of liquor and news category.
+
+\subsection{Update information}
+
+The user can also update the description, category and liquor type of a news-item. This is also done with XPath. The following code snippet shows how the description of an item can be changed.
+
+\begin{verbatim}
+$item = $node->getElementsByTagName("description");
+$item->item(0)->nodeValue = "Changed your value... Joink!";
+\end{verbatim}
+
+As you can see, the nodeValue can easily be changed. Once the right news-item is retrieved, it's values can be changed with an assignment statement. \\ \ No newline at end of file
diff --git a/Report/Chapter5.tex b/Report/Chapter5.tex
index 8f862bb..1394490 100644
--- a/Report/Chapter5.tex
+++ b/Report/Chapter5.tex
@@ -1,2 +1,3 @@
\section{Conclusion}
-Bladiebladieblaat
+
+XML is a very popular way to represent data.