[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re: Could the value of the select attribute of a xsl:param element be redefined?


Subject: [xsl] Re: Could the value of the select attribute of a xsl:param element be redefined?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sun, 21 Jan 2001 21:17:24 -0800 (PST)

SFYang at unisvr dot net dot tw wrote:

> If so, how to do it?  Be more specific, how to get 
>  <xsl:param name="line" select="1"/>  to <xsl:param name="line" 
>  select="2"/>


You can manipulate your stylesheet after loading it (but before
applying the transformation) as any other xml document -- using DOM.
Any attribute value can be modified in this way, including the value of
the select attribute of the element in question.

Or,

the named template may be called with different xsl:with-param 's as
determined dynamically within a <xsl:choose> element.

Dimitre Novatchev.


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/

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



Current Thread
Keywords
xml