Hi Olga,

What do you mean comparing? If you'll write test="node1 = node2" XPath
processor will look for text node child of node1 which is equal to text node
child of node2. If such nodes were found then this expression will return
true. You can use sub-nodes or attributes to compare nodes. 
If you need to check that in two cases one node was processed you can use
function generate-id which assigns unique identifier to node and this
identifier is not changed throughout XSLT processing.
Does this help?

Thanks,
Dmitry

-----Original Message-----
From: Olga Tubman [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 24, 2001 22:27
To: '[EMAIL PROTECTED]'
Subject: comparing of two nodes


Hi,
How can i compare two nodes?
Thank you,Olga

Reply via email to