Re: XSL and Namespaces

Subject: Re: XSL and Namespaces
From: Chris Maden <crism@xxxxxxx>
Date: Wed, 6 May 1998 13:35:13 -0400 (EDT)
[Ed Burns]
> There is nothing substantial about XML namespaces in the XSL spec.
> So I don't know where it stands.

The simplest answer is that XSL can work in ignorance of namespaces.
Since legal names can contain colons, your example is correct as
written (at least with respect to the names).

The answer in a world aware of namespaces (which doesn't exist yet) is
that one benefit of using namespaces might be inheritance of
stylesheets.  The schema (DTD or some other definition) may be
associated with a stylesheet, and a namespace-aware XSL processor
would know that since <BIB:Author> came from BIB's namespace, it
should use the style for "Author" from the stylesheet associated with
BIB.

There are some nasty issues with what inherits from whom, how exactly
these multiple stylesheets interact with each other, and what a
stylesheet author would do to override things in different contexts.

This is all speculative, of course, since neither namespaces nor XSL
are done yet.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread