[xsl] ancestor

Subject: [xsl] ancestor
From: "Jiang, Peiyun" <Peiyun.Jiang@xxxxxxxxxxxxxx>
Date: Mon, 18 Oct 2004 11:48:17 -0400
Hi,

I'm trying to get all inlineequation elements that are not in the table
element. The following is not working. I don't know why. I always get all
the inlineequation elements.

select="//inlineequation[not (ancestor::* = 'table')]"

I know this can be very expensive even if it works. What cab be a better way
to do it?

Thanks.

Peiyun Jiang

Current Thread