Re: [xsl] Copying parent nodes with different selection of their content

Subject: Re: [xsl] Copying parent nodes with different selection of their content
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 25 Apr 2007 17:50:58 +0200
Michael Kay wrote:
Perhaps something like this:

<xsl:for-each select="Document/*[starts-with(name(), 'Make-Toute-Seul')]"/>
<Document>
<xsl:copy-of select="../* except ."/>
</Document>
</xsl:for-each>

Thanks, but unfortunately, that selects two out of three, where I need one, different for each loop (basically the inverse). But the idea is the same and it works :)


Cheers,
-- Abel

Current Thread