Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] build-in template question

From: Garvin Riensche <g.riensche@------->
To:
Date: 9/4/2008 10:53:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent