RE: [xsl] -PARAM in XALAN is broken?

Subject: RE: [xsl] -PARAM in XALAN is broken?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 10 Mar 2001 17:28:51 -0000
> <xsl:param name="execution_path" select="@execution_path" >
>   <xsl:value-of select="@execution_path" />
> </xsl:param>

Firstly, it's an error for <xsl:param> to have both a select attribute and
non-empty content.

Secondly, this is a global parameter, so the context node is the document
root, you are asking for an attribute of the root node, and root nodes do
not have attributes. Perhaps you meant an attribtue of the outermost
element, i.e. select="*/@execution_path"?

Mike Kay
Software AG

 XSL-List info and archive:

Current Thread