xsl-list
[Top] [All Lists]

Re: [xsl] testing relationships between nodes

2006-09-14 10:49:00
Am Donnerstag, 14. September 2006 18:32 schrieb Michael Kay:
In 2.0

test="$A/ancestor::node() intersect $B"

In 1.0

test="count($A/ancestor::node() | $B) = count($A/ancestor::node())"

Michael Kay
http://www.saxonica.com/

Thanks a lot.

Best wishes,
Wolfgang

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

<Prev in Thread] Current Thread [Next in Thread>