xsl-list
[Top] [All Lists]

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

2007-04-25 08:53:16
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

--~------------------------------------------------------------------
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>
--~--