Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
declare namespace dmc = "dmc";
declare function local:change($node)
case element(change-me) return
element { xs:QName("dmc:" || fn:local-name($node)) } {
$node/node() ! local:change(.)
case element() return
element { fn:node-name($node) } {
$node/node() ! local:change(.)
default return $node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment