RE: [xsl] statically known namespaces

Subject: RE: [xsl] statically known namespaces
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 10 Jul 2006 14:31:20 +0100
> Why is it that XQuery has inbuilt namespaces such as "xs", 
> but XSLT does not?
> 
> I would have thought that XSLT 2.0 could benefit from having 
> "xsl" and "xs" predefined, any thoughts?

An XSLT stylesheet is an XML document, and XML requires all namespaces to be
explicitly declared.

This enables a stylesheet to be processed using standard XML tools. (You can
use XQuery to search stylesheets, but you can't use it to search queries!) 


Michael Kay
http://www.saxonica.com/

Current Thread