Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

preparationLessThan30.xq Example File
xmlpatterns/recipes/files/preparationLessThan30.xq

 (: All recipes taking 10 minutes or less to prepare. :)
 declare variable $inputDocument external;

 doc($inputDocument)/cookbook/recipe/time[@unit = "minutes" and xs:integer(@quantity) <= 10]/
 <p>
     {
        concat(../title, ' (', @quantity, ' ', @unit, ')')
     }
 </p>


Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.4.3