xsl-list
[Top] [All Lists]

Re: [xsl] statically known namespaces

2006-07-10 06:18:38
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(_at_)kosek(_dot_)cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 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
------------------------------------------------------------------



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--