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

Re: xsl:param may not be used here

Subject: Re: xsl:param may not be used here
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Tue, 28 Aug 2001 22:45:08 +0100
Re:  xsl:param may not be used here
On Tuesday, August 28, 2001 9:20 PM
Wendell Piez wrote:

> Hi Manny,
>
> At 03:18 PM 8/28/01, you wrote:
> >
> >My interpretation of everything I read was that the namespace
> >was only providing a way to distinguish between similar tags and that
> >there was not inherent "functionality" associated with the namespace.
>
> Ah. Well, that's more-or-less true except when it comes to XSL.
> [...]

Or, to put Wendell's point in apparently the opposite way, it's true and
really bites *especially when* you come to XSL. The namespace
identifier string determines what you mean by your local use of the
namespace
prefix "xsl" (or any other legal prefix string that you feel like
associating with that identifier) and therefore what the syntax and
semantics of all elements with that prefix is supposed to be. So it is
indeed a way of distinguishing between "similar tags". It  indicates
whether eg <xsl:apply-templates/> is to be acted on according to the
XSLT specification, or the significantly different draft XSL spec used
in the earlier MS processors. Which is why, if your use of elements
prefixed with "xsl" doesn't match the specification behind the namespace
indentifier you've associated with the prefix, you get no or apparently
"wrong" results.

I have a horrible feeling that namespace problems are set to join
encoding and whitespace issues as FAQ-resistant FAQ's here, especially
when schemas come into wider use and future versions of XSLT are able to
access them fully. And that the secondary, local, arbitrary status
of namespace prefixes, which many tutorials skate over when
explaining how namespaces work, is going to be chiefly to blame for the
confusions.

Michael
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------



 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.