Sha256: 6612be40806ecf5bc7e8ac15d61f7da11f1c94a749c7ddad2ab20504658ffa60
Contents?: true
Size: 574 Bytes
Versions: 42
Compression:
Stored size: 574 Bytes
Contents
declare namespace html = "http://www.w3.org/1999/xhtml"; declare function local:test-function($catalog as document-node()) { <html> <head> <title>XQuery example for the Rouge highlighter</title> <link href="style.css"/> </head> <body> <h1>List</h1> <ul> {for $product in $catalog/items/product[@sell-by > current-date()] return <li> <ul> <li>{data($product/name)}</li> <li>{$product/price * (1 + $product/tax)}$</li> </ul> </li>} </ul> </body> </html> };
Version data entries
42 entries across 42 versions & 2 rubygems