Hi,
you even could put the default namespace of the stylesheet to
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog", and then
match="rewriteURI" should just work.
Nope, See <http://www.w3.org/TR/xpath#node-tests>:
"A QName in the node test is expanded into an expanded-name using the namespace
declarations from the expression context...except that the default namespace
declared with xmlns is not used: if the QName does not have a prefix, then the
namespace URI is null..."
Cheers,
Jarno - Kristian: Psylence