Stripping namespaces would mean stripping semantic information from the 
document; I don't think there's been any demand for this.

Have you considered rewriting your stylesheet? XPath and XSLT don't handle 
default namespaces as defaults, but they *CAN* handle documents which 
*use* default namespaces just fine, by specifying prefixes in the 
stylesheet. Remember, namespace-based processing is sensitive only to the 
namespace URI, not which prefix (or default) was used to select that URI.

If you really insist on ignoring namespaces -- BAD idea in almost all 
cases -- XPath and XSLT can still be used, but you'd have to explicitly 
match/select the nodes using predicates that test name() and/or 
local-name(). 

______________________________________
Joe Kesselman  / IBM Research

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to