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

RE: where is an exhaustive reference for xslt?

Subject: RE: where is an exhaustive reference for xslt?
From: "Scott Trenda" <Scott.Trenda@xxxxxxxx>
Date: Fri, 19 Oct 2007 19:08:20 -0500
RE:  where is an exhaustive reference for xslt?
Thanks for the clarification, David. I think I was trying to draw the
first conclusion based on what I remember from my experiments with LRE
stylesheets. whoops!

~ Scott


-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Friday, October 19, 2007 7:04 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  where is an exhaustive reference for xslt?


> It's an unqualified attribute in this case, yes. Since the parent
> element is in the xsl: namespace, an unqualified attribute ends up in
> that namespace as well.

Unprefixed attributes are always in no-namespace, they do nt inherit the
namespace of their parent (or the default namespace).

> I seem to remember that my stylesheets break if I prefix the version
> attribute in the <xsl:stylesheet> element. However, if you need to put
a
> xd:version attribute in the top element for other reasons, you'd need
to
> prefix that one.

XSL stylesheets that have a top level element of stylesheet or transform
in the namespace http://www.w3.org/1999/XSL/Transform must have a
version attribute (no prefix). Conversely stylesheets using the "literal
result element as stylesheet" syntax must have a (prefixed) attribute in
the namespace http://www.w3.org/1999/XSL/Transform with local name
version.

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________

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.