Skip to content

Instantly share code, notes, and snippets.

@tternquist
Created December 22, 2016 22:53
Show Gist options
  • Save tternquist/70e0d79d75d16aa2ece3a86fec8e4903 to your computer and use it in GitHub Desktop.
Save tternquist/70e0d79d75d16aa2ece3a86fec8e4903 to your computer and use it in GitHub Desktop.
let $test := element outer {
attribute at {1},
element a { "a" },
element b { "b" },
element c { "c" }
}
return
element outer {
$test/(node()|@*)[. except $test/c]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment