[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: arguments for xsl:call-template
YES, you're right! I wanted to say <xsl:with-param name="path" select="/report/histo/bar/@value" /> ----- Original Message ----- From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, December 07, 2001 4:20 PM Subject: Re: arguments for xsl:call-template > [Pep Coll] > > > I don't understand quite well what you want, because you can do this: > > <xsl:with-param name="path" select="'/report/histo/bar'" /> > > but you can do this , > > <xsl:with-param name="path" select="'/report/histo/@bar'" /> > > NO, @bar would only return attributes named "bar" and the original example > had "bar" elements, not attributes. > > Tom P > > > because you are not assigning anything to var. path and also you are doing > > histogram just once so the 'for-each' has no reason to be. Explain what's > > the purpose of this template. > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|