Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
fdb75653
Commit
fdb75653
authored
Jul 16, 2013
by
Giuseppe Castagna
Browse files
typos
parent
8808d8f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/examples/examples.xml
View file @
fdb75653
...
...
@@ -77,16 +77,16 @@ Q1 Query: List books published by Addison-Wesley after 1991, including their yea
</example>
<example
code=
"q2"
title=
"Q2"
>
Q2 Query: Create a flat list of all the title-author pairs, with each pair enclosed in a
\
"result
\
" element.
Q2 Query: Create a flat list of all the title-author pairs, with each pair enclosed in a "result" element.
</example>
<example
code=
"q3"
title=
"Q3"
>
Q3 Query: For each book in the bibliography, list the title and authors, grouped inside a
\
"result
\
" element.
Q3 Query: For each book in the bibliography, list the title and authors, grouped inside a "result" element.
</example>
<example
code=
"q4"
title=
"Q4"
>
Q4 Query: For each author in the bibliography, list the author`s name and the titles
of all books by that author, grouped inside a
\
"result
\
" element.
of all books by that author, grouped inside a "result" element.
</example>
<example
code=
"q5"
title=
"Q5"
>
...
...
@@ -96,18 +96,18 @@ list the title of the book and its price from each source.
<example
code=
"q6"
title=
"Q6"
>
Q6 Query: For each book that has at least one author, list the title and first two authors,
and an empty
\
"et-al
\
" element if the book has additional authors.
and an empty "et-al" element if the book has additional authors.
</example>
<example
code=
"q8"
title=
"Q8"
>
Q8 Query: Find books in which the name of some element ends with the string
\
"or
\
"
Q8 Query: Find books in which the name of some element ends with the string "or"
and the same element contains the string "Suciu" somewhere in its content.
For each such book, return the title and the qualifying element.
</example>
<example
code=
"q9"
title=
"Q9"
>
Q9 Query: In the document
\
"books.xml
\
", find all section or chapter titles that
contain the word
\
"XML
\
", regardless of the level of nesting.
Q9 Query: In the document "books.xml", find all section or chapter titles that
contain the word "XML", regardless of the level of nesting.
</example>
<example
code=
"q11"
title=
"Q11"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment