Try:
<xsl:for-each select="not(local-name(.) == 'th)">
..
</xsl:for-each>
Don
bgsisk wrote:
>
> I need to apply an <xsl:template> to all of the child tags (nodes) of
> a given tag, except for one or two. For example, let's say in a table
> <table>
>
> </table>, you wanted to output the value of every node EXCEPT one, for
> example, every <td></td>, every <tr></tr>, but not any of the
> <th></th> elements. Thus every child node of the context node except
> for one. How do you write a select that will do this (exclude one of
> the child elements but include all others).
>
> What I am looking for is: <xsl:value-of select=" "/>
> What goes inside the quotes to accomplish this?
>
> The <th></th> case is just an example--I am asking about the general
> case--not just that specific case. So if you answer, please provide an
> answer that will work at excluding any node you specify.
>
>