Здравствуйте, embla, Вы писали:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="*[@name = 'node11']">
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="*[.//*[@name = 'node11']]">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*" />
</xsl:stylesheet>
Оно?
... << RSDN@Home 1.2.0 alpha rev. 786>>