xmlcalabash1
xmlcalabash1 copied to clipboard
p:hash does not replace entire pi and comment nodes
From the specs: "The value of the match option must be an XSLTMatchPattern. ... If the expression matches any other kind of node, the entire node (and not just its contents) is replaced by the hash."
Please see the test here: https://github.com/xproc/1.0-test-suite/pull/34