0
|
1 |
<result>
|
|
2 |
<para>The following skin care products have shipped, ordered by shipping date(oldest first):</para>
|
|
3 |
{
|
|
4 |
for $i in doc("myOrders.xml")/orders/order[@product = "Acme Skin Care"]
|
|
5 |
order by xs:date($i/@shippingDate) descending
|
|
6 |
return $i
|
|
7 |
}
|
|
8 |
</result>
|