|
Subject: [xsl] Capturing result of <xsl:apply-templates/> in a variable From: David Sewell <dsewell@xxxxxxxxxxxx> Date: Tue, 6 Dec 2011 14:52:07 -0500 (EST) |
<xsl:template match="INPUT">
<xsl:variable name="appliedTemplates" as="item()+">
<xsl:apply-templates/>
</xsl:variable>
<OUTPUT>
<xsl:copy-of select="$appliedTemplates"/>
</OUTPUT>
<xsl:message>Old value: <xsl:value-of select="."/></xsl:message>
<xsl:message>New value: <xsl:value-of select="$appliedTemplates"/></xsl:message>
</xsl:template>-- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsewell@xxxxxxxxxxxx Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] sanely ordering template , James A. Robinson | Thread | Re: [xsl] Capturing result of <xsl:, Michael Kay |
| [xsl] sanely ordering template impo, James A. Robinson | Date | Re: [xsl] sanely ordering template , Michael Kay |
| Month |