This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]