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: Passing parameters to a URL in a document() function


> > <xsl:param name="IDMENU" select="5"/>
> 
> By default the value of the select attribute is treated as an
> XPath expression - ie. the processor looks for a element called
> 5.

Yes, no. "5" is a valid XPath expression, its value is the numeric value 5.
If the expression was "x" then it would indeed look for an element named
<x>, but 5 is not a valid element name.

Mike Kay


 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]