This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: transform childnodes from second XML file based on node name match
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] transform childnodes from second XML file based on node name match
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 29 Jan 2001 17:26:39 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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