Subject: Re: [xsl] Selecting child elements bar one|
From: Jon Gorman <jonathan.gorman@xxxxxxxxx>
Date: Mon, 13 Feb 2006 10:08:19 -0600
> Everything is preserved except for the 'comment' element and it's text > value. I can ignore 'comment' alright but not without losing the text > value of 'literate-code'? Look for identity transform in the faq or archives. Use that and add this template <xsl:template match="comment" /> In other words, copy everything (which is what identity transform does) by default but in the case of comment do nothing. You many need to do modes or something similar depending on the complexity of your xml input and what other needs you have in the transformation. Jon Gorman.