This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Comparing nodes minus one child


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]