Subject: RE: build-in template question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 4 Sep 2008 23:37:20 +0100
|
> 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>".
No, it will be <e/>.
>
> Is the text insterted to the output by xsl:copy or by the
> build-in template
Neither.
Michael Kay
http://www.saxonica.com/
| Current Thread |
|
Michael Kay - 4 Sep 2008 22:37:43 -0000 <=
G. Ken Holman - 4 Sep 2008 22:38:48 -0000
|
|