Subject: Re: [xsl] XPath function for <xsl:apply-templates/>? From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 18 Nov 2013 14:19:01 +0000 |
Hi, might have been asked here before but is there some XPath function that works like <xsl:apply-templates/>? This would be good for readability. Ill give you an example, currently I do this:
<xsl:variable name="content"> <xsl:apply-templates mode="filter"/> </xsl:variable> <xsl:copy-of select="a18:field('place', $content)/>
What Iam asking for would look like this:
<xsl:copy-of select="a18:field('place', apply-templates('filter'))/>
Any thoughts? There is probably an extension for this.
Best, Christian
<xsl:function name="f:apply-templates-filter"> <xsl:param name="seq"/> <xsl:apply-templates mode="filter" select="$seq"/> </xsl:function>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPath function for <xsl:apply, Christian Mahnke | Thread | Re: [xsl] XPath function for <xsl:a, David Carlisle |
[xsl] XPath function for <xsl:apply, Christian Mahnke | Date | Re: [xsl] XPath function for <xsl:a, David Carlisle |
Month |