Subject: Re: Using parameter with xsl:for-each From: "Max Rubinstein" <mrubinst@xxxxxxxxxxx> Date: Tue, 27 Jun 2000 10:28:57 CDT |
passing a parameter to select attribute of <xsl:sort> (http://www.mulberrytech.com/xsl/xsl-list/archive/msg14124.html)
but this does not seem to apply to my situation. Maybe somebody can point me a little bit more precisely?
----Original Message Follows---- From: David Carlisle <davidc@xxxxxxxxx> To: xsl-list@xxxxxxxxxxxxxxxx CC: mrubinst@xxxxxxxxxxx Subject: Re: Using parameter with xsl:for-each Date: Tue, 27 Jun 2000 14:47:57 +0100 (BST)
This is a faq, you can't in standard xsl evaluate a string as an xpath expresion. Check the archives of this list.
------------------------------------------------------------------- Hi,
<xsl:template match="/"> <p><xsl:value-of select="$selectpath"/></p> <xsl:for-each select="$selectpath"> <xsl:value-of select="."/> </xsl:for-each> </xsl:template>
Here is my xml source: <Resources> <Resource URL="http://www.aspindustry.org/"> <Keywords> <ASP/> <SB/> </Keywords> </Resource> <Resource URL="http://www.aspnews.com/" > <Keywords> <ASP/> </Keywords> </Resource> </Resources>
________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Using parameter with xsl:for-ea, David Carlisle | Thread | Re: Using parameter with xsl:for-ea, Mike Brown |
General, possibly F.A'd, Question, Lee Goddard | Date | RE: Create text file, DuCharme, Robert |
Month |