xsl-list
[Top] [All Lists]

[xsl] how to setting a param to a node list?

2006-12-13 11:50:18
I am using Altova XMLSpy to do my editing and translation.  The final
target will be Microsoft .Net 2.0.  I had been using the engine built
into Altova XMLSpy without any problems (except 1 out of 4 times
XMLSpy crashes when I do a transformation, very strange).  So I
switched it to use MSXML, I have tired both the v4.0 and "Choose
version automatically" which I believe will use v6, which I think is
installed on my machine.  Either way, I get this error:

Reference to variable or parameter 'show' must evaluate to a node list.

show is a global parameter in the style sheet and currently looks like this:

 <xsl:param name="show">
   <showReplicates/>
   <showUnusedReplicates/>
   <showMetadata/>
   <showElectronicSignature/>
   <!--<showSummaryOnly/>-->
 </xsl:param>

Of course, in real life, the C#.Net code will be passing this node set
in as a parameter.  How do I set this node set correctly while I
develop the stylesheet for MSXML?

Sam
--
Miltonstreet Photography
http://www.miltonstreet.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] how to setting a param to a node list?, Sam Carleton <=