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]

RE: transform childnodes from second XML file based on node name match


> 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


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