[xsl] build-in template question

Subject: [xsl] build-in template question
From: Garvin Riensche <g.riensche@xxxxxxx>
Date: Fri, 05 Sep 2008 00:17:16 +0200
Hello,

I have a question concerning text nodes. If I have an xml file like

<root>
  <e>text</e>
</root>

and a template like

<xsl:template match="e">
  <xsl:copy/>
</xsl:template>

than, the output will be "<e>text</e>".

Is the text insterted to the output by xsl:copy or by the build-in template

<xsl:template match="text()|@*">
  <xsl:value-of select="."/>
</xsl:template>
?

regards,
Garvin

Current Thread