Subject: RE: [xsl] generate xsl 1.0 from 2.0 question From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Wed, 30 Jan 2002 18:52:04 -0000 |
> -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Bryan > Rasmussen > Sent: 23 January 2002 08:48 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] generate xsl 1.0 from 2.0 question > anyway the thing I was wondering about is in the template > name="click_here" > you'll notice I do the $translator[@name='Click_here'] is > there anyway to > select the name of the template one is in(in xslt 2.0), in > such a way that I > could make a parameter holding the template/@name value and > pass it to a named template through a call? > No. We basically haven't done anything that makes XSLT more dynamic (or "reflexive") than it is an 1.0. There's been a lot of debate about an evaluate() function, and some debate about dynamic names in call-template and modes in apply-templates, and on the whole, there's a lot of resistance from some implementors to moving in this direction because it greatly limits the analysis you can do statically. If you have comments on this, xsl-editors@xxxxxx is the place... Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] generate xsl 1.0 from 2.0, Bryan Rasmussen | Thread | [xsl] XSL-FO design tool, Igor Vasilyev |
Re: [xsl] insert an attribute value, Joerg Heinicke | Date | [xsl] problem with multiple xml doc, Gene LaCava |
Month |