[Home] [By Thread] [By Date] [Recent Entries]
M M wrote:
Use <xsl:param> element. If you define top level param you able to pass its initial value to the stylesheet. See http://www.w3.org/TR/xslt.html#top-level-variablesHow can I pass a particular value for storyid into the xsl in real time for when the user clicks a link for story number 22222 for example??? So, try smting like this: <xsl:param name="storyid"/> <xsl:template match="/"> <xsl:apply-templates select="//story[storyis=$storyid]"/> </xsl:template> -- Oleg Tkachenko Multiconn International XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



