Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

preparationLessThan30.xq Example File

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>
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded