Difference between revisions of "XQuery Recipes"
Jump to navigation
Jump to search
m |
m (categories) |
||
Line 9: | Line 9: | ||
} | } | ||
</pre> | </pre> | ||
+ | [[Category:XQuery]] | ||
+ | [[Category:Finish]] |
Revision as of 23:36, 12 December 2010
This page contains code snippets that mainly originate from our Mailing List.
Computed Elements
Returns dynamically named elements:
let $name:= "Element1" let $class := "hi" let $contents :=<foo><br />Bar!</foo> return element {$name}{ attribute {"about"}{$class},$contents }