Subject: RE: 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 |
|
Michael Kay - 10 Jul 2006 13:31:38 -0000 <=
omprakash . v - 10 Jul 2006 14:06:10 -0000
Jacoby, Peter R. - 10 Jul 2006 16:25:11 -0000
|
|