[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] param-value in Expression
I wonder why my for-each select=... doesn't work. Wenn I use $root[@name='blabla'] it works fine. <xsl:param name="root" expr="teams/team"/> <xsl:param name="rootstring" expr="'teams/team'"/> <xsl:param name="filterattr" expr="@name"/> <xsl:param name="filter" expr="'blabla'"/> <xsl:template match="/"> <html> <head></head> <body> <form> <table border="1"> <xsl:for-each select="$root[$filterattr=$filter]/*"> <xsl:call-template name="children"> <xsl:with-param name="list" select="."/> <xsl:with-param name="tree" select="$rootstring"/> </xsl:call-template> </xsl:for-each> </table> </form> </body> </html> </xsl:template> <xsl:template name="children"> . . . </xsl:template> -- Uwe 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
|