On Mon, 10 Jan 2005, David Carlisle wrote:
You can generate a result tree in which every element satisfies
@lang='en' or not(@lang) by
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="*[not(@lang='en' or not(@lang))"/>
Thanks, this is what I ended up doing (except I forgot about copy/copy-of
and implemented it myself instead)
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--