Groups | Blog | Home
all groups > dotnet xml > may 2004 >

dotnet xml : param syntax help


darrel
5/21/2004 5:19:30 PM
Why does this work:

<xsl:for-each select="//page[@subSite='monkey']">

but this does not?:

<xsl:param name="subSite">monkey</xsl:param>
<xsl:for-each select="//page[@subSite='$subsite']">

darrel
5/21/2004 5:50:12 PM
[quoted text, click to view]

Gah! My brain just doesn't work well on Fridays. Thanks, Bjoern!

-Darrel

Bjoern Hoehrmann
5/22/2004 12:42:58 AM
* darrel wrote in microsoft.public.dotnet.xml:
[quoted text, click to view]
^ ^

Remove the quote marks, it's otherwise a string and the processor
AddThis Social Bookmark Button