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

Re: How is this part of the XSLT specification to be interpr

Subject: Re: How is this part of the XSLT specification to be interpreted?
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Tue, 20 Jun 2000 14:33:45 +0100 (BST)
Re: How is this part of the XSLT specification to be interpr
On Tue, 20 Jun 2000, Thorbjørn Ravn Andersen wrote:

> 
> I am looking at how to make XSL documents self-documenting, and I fell
> over section 2.1 in the specification
> 
> "An element from the XSLT namespace may have any attribute not from
> the XSLT namespace, provided that the expanded-name of the attribute
> has a non-null namespace URI. The presence of such attributes must not
> change the behavior of XSLT elements and functions defined in this
> document. Thus, an XSLT processor is always free to ignore such
> attributes, and must ignore such attributes without giving an error if
> it does not recognize the namespace URI. Such attributes can provide,
> for example, unique identifiers, optimization hints, or
> documentation."
> 
> My current experience with XT and Saxon is that they complain fiercely
> if an incorrect attribute is used.  How is the text above to be
> interpreted?

It means you can have:

<xsl:apply-templates myns:foo="bar" xmlns:foo="mailto:me@xxxxxx"/>

i.e. any new attributes you specify in xsl tags must be in a different
namespace.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


 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.