Commit a08dd56b authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-07-04 20:27:18 by vbenzake] Empty log message

Original author: vbenzake
Date: 2004-07-04 20:27:18+00:00
parent d6d02768
......@@ -246,7 +246,9 @@ thus duplicates are not eliminated. To discard them, one has to use the <code>di
</p>
<p>
<b> A pure pattern example </b>
<b> A pure pattern example </b></p>
<p>
This example computes the same result as the previous query. It is written in a pure pattern form (i.e., without any XPath-like projections)
</p>
<sample><![CDATA[
......@@ -260,7 +262,7 @@ from <_>[(x::<paper>_ | _ )*] in [bib],
]]>
</sample>
<p>
This query computes exactly the same result:
Result:
</p>
<sample><![CDATA[
......@@ -275,10 +277,10 @@ Ok.
]]>
</sample>
<p>
This pure pattern form of the same query yields (in general) better performance than the same one written in an XQuery-like programming style. However, the query optimiser automatically translates the latter into a pure pattern one
This pure pattern form of the query yields (in general) better performance than the same one written in an XQuery-like programming style. However, the query optimiser automatically translates the latter into a pure pattern one
</p>
<p>
<b>Formatted table generation</b>
<b>A strange query: Formatted table generation</b>
</p>
<p>
The following program generates a 10x10 multiplication table:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment