[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: save me from the name spaces confusion

Subject: Re: save me from the name spaces confusion
From: "David Marston/CAM/Lotus" <David_Marston@xxxxxxxxx>
Date: Wed, 3 May 2000 14:31:07 -0400
cam confusion
Q: why the browser does not format a page if i include a xsl file as
xsl:stylesheet xmlns:xsl ="local path" or "local ip address" and my own xsl

A: Because the "xsl" prefix is just a bridge to the real identifier.
What *would* work is to declare
<style:stylesheet
xmlns:style="http://www.w3.org/1999/XSL/Transform"
version="1.0">
and then have all your stylesheet elements prefixed with style:
<style:output method="xml"/>
<style:template match="/">
<style:value-of select="foo"/>
and so on. That's the inverse of what you proposed.

The XSLT processor obeys instructions that are associated with the
namespace "http://www.w3.org/1999/XSL/Transform" and the prefix is the
bridge between elements and the URI. As shown above, the specific
prefix "xsl" has no special significance other than being easier to
understand because it's what the spec uses. (See section 2.1,
paragraph 4, where they disclaim magical powers for "xsl" as a
prefix.)
.................David Marston


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.