[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

sending parameters with apply-templates doesn't work?

Subject: sending parameters with apply-templates doesn't work?
From: "Mattias Konradsson" <preacher@xxxxxxxxxxx>
Date: Wed, 17 Jul 2002 19:50:01 +0200
sending parameters
Hmmm am I doing something really stupid here?

What i need to do is to send a parameter with an apply-templates call, like
this:

<xsl:apply-templates select="document($querystr)"><xsl:with-param
name="selectedcategory">1</xsl:with-param></xsl:apply-templates>

which is then picked up by this template:

<xsl:template match="bookmarkcategories">
  <xsl:param name="selectedcategory"/>
    ...
 </xsl:template>

This generates no under the .Net on the MS platform parser but the parameter
doesn't get passed either, is it a parser bug or something I'm doing? Any
workaround
possible, can't come up with another good way to pass an parameter to a
attribute set fetched through document...

best regards
---
Mattias Konradsson


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.