Subject: Comparing nodes minus one child
From: mjyoungblut@xxxxxxx
Date: Tue, 25 Sep 2001 14:37:39 -0500
|
Hello,
If I have two elements that have the same structure in two
variables(today_product and yesterday_product):
<Product>
<Child1>...</Child1>
<Child2>...</Child2>
...
<ChildX>...</ChildX>
</Product>
How can I compare the two <Product> elements by comparing everything but
<ChildX> to see if they are equal? If possible, I would like to do this in
one line as opposed to comparing each part, which I can already do.
i.e. today_product (minus ChildX) ?= yesterday_product (minus ChildX)
Thanks in advance,
Matt Youngblut
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|