Subject: Re: [xsl] How do I pass params from <xsl:apply-templates> and receive params from the template? From: David Carlisle <davidc@xxxxxxxxx> Date: Sun, 03 Oct 2010 13:07:38 +0100 |
<xsl:apply-templates select="document('C:/temp/input2.xml')"/>
That defines $param1 to be a document node (/) with a single text node child which is the string value of the OLN child of the current node.<xsl:variable name="vOln"> <xsl:apply-templates select="POOrder"> <xsl:with-param name="param1"><xsl:value-of select="OLN"/></xsl:with-param>
<xsl:with-param name="param2">OLN</xsl:with-param>that defines $param2 to be a document node with a single text node child with string value "OLN", which probably isn't what you want here, but I'm not sure what you intended.
</xsl:apply-templates> </xsl:variable>
<OLN><xsl:value-of select="$vOln"/></OLN>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How do I pass params from <xs, sudheshna iyer | Thread | Re: [xsl] How do I pass params from, sudheshna iyer |
Re: [xsl] Mapping from two sources, Florent Georges | Date | [xsl] Create an end element - possi, [x] cross solution |
Month |