IE5-XSL: Comparing two elements

by Peter-Paul Koch <ppk(at)xs4all.nl>

 Date:  Tue, 05 Oct 1999 14:01:12
 To:  hwg-xml(at)hwg.org
  todo: View Thread, Original

Hello,

I just wrote my first XML/XSL page for IE5 and encountered a problem:
However I tried, I could not make IE5-XSL compare two elements. 

The example is about a work flow system. A project has several  <task>
elements and several <role> elements (at the same level). Each <task> has a
<supervisor> and a <performer>, both of which refer to a <role>.  

If you want to see the page, it's at:

http://www.netlinq.nl/interest/

What I want to do is find out what role does the supervising/performing and
then print out all role information with a predefined <xsl:template>.
However, I cannot find any way to compare a /task/supervisor with a
/role/abbreviation in pure XSL. I now wrote a JavaScript that can read out
one element of /role (the name), but I want to read them all and apply the
template.

My description of this apparent bug:

http://www.netlinq.nl/interest/about.html

I asked at another list and the general opinion was that this should be
possible. Is this simply an IE5 implementation error or am I doing
something wrong?

Thanks for all information,

ppk

HWG hwg-xml mailing list archives, maintained by Webmasters