Re: [xsl] statically known namespaces

Subject: Re: [xsl] statically known namespaces
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Mon, 10 Jul 2006 15:18:17 +0200
andrew welch wrote:

Why is it that XQuery has inbuilt namespaces such as "xs", but XSLT does
not?

XSLT uses XML syntax and thus inherits namespace processing from XML (plus adds few more bits like description of namespace prefix binding for QNames).

XQuery uses its own syntax which creates space for various defaulting.
Of course you could do this for XSLT, but then you will not be able to
use real XML parser for reading of XSLT files.

Jirka


-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@xxxxxxxx http://www.kosek.cz ------------------------------------------------------------------ Profesionalnm 9kolenm a poradenstvm v oblasti technologim XML. Podmvejte se na na9 novl spu9tln} web http://DocBook.cz Podrobn} pxehled 9kolenm http://xmlguru.cz/skoleni/ ------------------------------------------------------------------ Nejbli>9m termmny 9kolenm: ** XSLT 23.-26.10.2006 ** XML schimata 13.-15.11.2006 ** ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 ** ------------------------------------------------------------------ http://xmlguru.cz Blog mostly about XML for English readers ------------------------------------------------------------------

Current Thread