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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--