Subject: Re: [xsl] build-in template question From: Garvin Riensche <g.riensche@xxxxxxx> Date: Fri, 05 Sep 2008 00:52:44 +0200 |
At 2008-09-05 00:17 +0200, Garvin Riensche wrote: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.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.
regards, Garvin
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] build-in template questio, G. Ken Holman | Thread | [xsl] Distinguish between empty str, Arndt Jonasson |
Re: [xsl] build-in template questio, G. Ken Holman | Date | Re: [xsl] build-in template questio, Jonas Mellin |
Month |