Hi team,
Is it possible to match, on a typeswitch expression, a particular element and
attribute name simultaneously? I know it's possible to match on either case:
typeswitch ($some_node)
case element(foo) return
(: do something :)
case attribute(bar) return
(: do something else :)
default return
(: fallback :)
… but is there a way to match a case on specifically the node <foo
bar="test1">test2</foo>?
Thanks for any ideas you may provide!
-i
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general