Differences between xsl:element and LRE

There are a couple of differences between xsl:element and LREs that I
think could have been more clear in the XSLT 1.0 spec; since the 2.0 spec
doesn't seem to have changed either of these things, I'm bringing them up
as a suggestion for how to improve the Working Draft.

The first difference has to do with namespace aliases.  It seems to me
that there is no interaction between xsl:element and namespace-aliases.
However, I don't think is crystal clear.  I think putting a single
sentence in xsl:element to the effect of

	"Namespace aliases have no effect on the resulting element."

would be helpful.

Furthermore, I would add another sentence along the lines of:

	"Elements generated with xsl:element have no implied namespace
	bindings other than those required to be a valid XML 1.0 document."

Since that seems to be the intent of the spec, but is not explicitely stated.

Also, if I am wrong in my understanding of the spec, such that those two 
statements above are not valid, I would certainly like to know!  


Thanks,
Niko Matsakis
DataPower.com

Received on Tuesday, 27 May 2003 12:49:33 UTC