Re: [xsl] Namespaces in XSLT

Subject: Re: [xsl] Namespaces in XSLT
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 04 May 2002 22:47:17 -0400
At 2002-05-05 02:01 +0000, tinku wrote:
Is the default namespaces taken into account when processing XPATHs in an XSL stylesheet?

XPath syntax never uses the default namespace, not only when in XSLT.

What will be generated as the following is given:

The only element that is matched is "bo" in no namespace, not "bo" in any explicit namespace whether or not the default namespace was used.

I hope this helps.

..................... Ken

-- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002 - : 3-days XML Information Modeling: July 31-August 2, 2002

G. Ken Holman                mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1               Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training:               2002-05-06,07,09,10,13,15,20,
-                    06-04,07,10,11,13,14,17,20,07-31,08-05,27,30

XSL-List info and archive:

Current Thread