|
Subject: [xsl] Can a named template return a node list? From: John <john-xsl-list@xxxxxxxx> Date: Thu, 16 Jun 2005 07:24:32 -0700 |
<root>
<node1 attr="node1attrval">
<node1a>node1atext</node1a>
</node1>
<node2 attr="node2attrval">
<node2a>node2atext</node2a>
</node2>
</root><xsl:template match="*">
<xsl:variable name="somenode">
<xsl:call-template name="sometemplate" />
</xsl:variable>
<xsl:value-of select="$somenode/@attr" />
</xsl:template><xsl:template name="sometemplate"> <xsl:copy-of select="/root/node1" /> </xsl:template>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] How to select either Elem, Michael Kay | Thread | Re: [xsl] Can a named template retu, David Carlisle |
| RE: [xsl] Creating doctype-system v, Derek Revill | Date | Re: [xsl] Can a named template retu, David Carlisle |
| Month |