Subject: RE: where is an exhaustive reference for xslt?
From: "Scott Trenda" <Scott.Trenda@xxxxxxxx>
Date: Fri, 19 Oct 2007 19:08:20 -0500
|
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.
________________________________________________________________________
|