This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: -PARAM in XALAN is broken?


> <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:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]