[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Passing external values into xsl stylesheet to sel
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|