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: How can I declare node sets explicitly?


> 
> <xsl:variable name="local_field">
>     (field1)|(field2)|field3)
> </xsl:variable>
> 
> won't work because then $local_field is a string and not a node set.
>  
> Do you have any suggestion for me?

What's wrong with 
<xsl:variable name="local_field" select="field1 | field2 | field3"/> ?

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]