0
|
1 |
(: All recipes taking 10 minutes or less to prepare. :)
|
|
2 |
declare variable $inputDocument external;
|
|
3 |
|
|
4 |
doc($inputDocument)/cookbook/recipe/time[@unit = "minutes" and xs:integer(@quantity) <= 10]/
|
|
5 |
<p>
|
|
6 |
{
|
|
7 |
concat(../title, ' (', @quantity, ' ', @unit, ')')
|
|
8 |
}
|
|
9 |
</p>
|