Subject: Re: build-in template question
From: Garvin Riensche <g.riensche@xxxxxxx>
Date: Fri, 05 Sep 2008 00:52:44 +0200
|
G. Ken Holman schrieb:
At 2008-09-05 00:17 +0200, Garvin Riensche wrote:
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>".
I don't believe this is true ... you should be getting an empty
element. If you are getting text as well, then there is a problem with
your XSLT processor.
You're right... I scaled my example down and got the same result without
the text. Now I am not puzzeled anymore. ;) Thanks for your advice.
regards,
Garvin
| Current Thread |
Michael Kay - 4 Sep 2008 22:37:43 -0000
G. Ken Holman - 4 Sep 2008 22:38:48 -0000
- Garvin Riensche - 4 Sep 2008 22:53:02 -0000 <=
|
|