[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL and Namespaces
[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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|