Subject: [xsl] Node list question From: mjyoungblut@xxxxxxx Date: Wed, 26 Sep 2001 08:13:04 -0500 |
Hi, I have a situation where I do the following: <xsl:variable name="MOD_PROD"> <xsl:call-template name="get-modify-product"> <xsl:with-param name="YESTERDAY_PROD" select="$YESTERDAY_PROD"/> <xsl:with-param name="TODAY_PROD" select="$TODAY_PROD"/> </xsl:call-template> </xsl:variable> <xsl:if test="count($MOD_PROD//child::node()) > 1"> <xsl:copy-of select="$MOD_PROD"/> </xsl:if> This template creates a product and populates it accordingly: <xsl:template name="get-modify-product"> <xsl:param name="YESTERDAY_PROD"/> <xsl:param name="TODAY_PROD"/> <Product Action="M"> ... Populate Product based on the $TODAY_PROD and $YESTERDAY_PROD </Product> </xsl:template> Using Saxon, I never got an error. Now, trying to use MSXML gives me the following error: Reference to variable or parameter 'MOD_PROD' must evaluate to a node list. What is the difference between Saxon and MSXML on this? How can I go about resolving this? Thanks in advance, Matt Youngblut XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Zvon announcement for Emacs a, Miloslav Nic | Thread | RE: [xsl] Node list question, Chris Bayes |
[xsl] Zvon announcement for Emacs a, Miloslav Nic | Date | RE: [xsl] Node list question, Chris Bayes |
Month |