[Schematron] How to find the inscope default namespace
Rick Jelliffe
rjelliffe at allette.com.au
Tue Aug 4 05:35:34 EDT 2009
Does anyone have any code for the following, for XSLT?
I want to find out for some element node, what the current default
namespace URI is.
NOTE: I don't want to *set* the default namespace. I don't want to *set*
the default namespace for Qnames. I want to *get* the default namespace.
Furthermore, I don't want to use namespace nodes, since that is
implementation dependent.
The reason is because of the XSD to Schematron converter: base type
derivation uses the default namespace declarations. Anyone who thinks
that namespace declarations are easier than using real attributes are
invited to put their code where their mouth is :-)
Cheers
Rick Jelliffe
More information about the Schematron
mailing list