[Home] [By Thread] [By Date] [Recent Entries]
> let $makeElement := function($k, $v) {
> parse-xml('<' || $k || '>' || $v || '</' || $k || '>' )
> }
> return $makeElement('month', 'August')
>
> There is nothing to be escaped in the above expression! This is XPath, not
XML.
Well, $makeElement('menu', 'bangers&mash') is going to fail.
>
Michael Kay
Saxonica
|

Cart



