Subject: RE: transform childnodes from second XML file based on node name match
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 29 Jan 2001 17:26:39 -0000
|
> My problem is that the sets vary with month and I need the
> template above to
> change dynamically. I tried passing the node names using
> with-param but it
> returns the value of the node name when it processes the
> xsl:value-of.
Instead of select="fixed-name" use select="*[name()=$param-value]"
But beware of namespace complications.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|