Subject: [xsl] 'apply-templates' on parameter of 'call-template' From: Angus McIntyre <angus@xxxxxxxxx> Date: Fri, 9 Apr 2004 13:07:37 -0400 |
<xsl:template match="/"> <xsl:call-template name="test"> <xsl:with-param name="body"> <p>This is my body</p> <matchable id="123"/> </xsl:with-param> </xsl:call-template> </xsl:template>
<xsl:template name="test"> <xsl:param name="body">no body</xsl:param> <xsl:apply-templates select="$body"/> </xsl:template>
<xsl:template name="matchable"> <p>The value is <xsl:value-of select="@id"/></p> </xsl:template>
Angus -- Business: http://www.nomadcode.com/ Personal: http://www.raingod.com/angus/ Political: http://www.gollum2004.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: RE: [xsl] Saxon servlet and xsl, Michael Kay | Thread | RE: [xsl] 'apply-templates' on para, M. David Peterson |
Re: RE: [xsl] Saxon servlet and xsl, xml4pharma | Date | RE: [xsl] 'apply-templates' on para, M. David Peterson |
Month |