you should never do that
it can fail because of various reasons
in XSLT1 the = operator is a set compare
whenever you think you are using != in a string compare
not(=) is what you really want (in 99% of the cases)
[not(@title = 'Consent Form Requirements')]
is what you should do
Kreuz Nacher
ASKER
Thank you again! I had to make one small adjustment, but that's on my side. I asked this based on an attribute and it turns out it wasn't an attribute, so I just took out the @ and it worked fine.
Love your answers, really helping me dust off the cob webs on this stuff!
[@title != 'Consent Form Requirements']
you should never do that
it can fail because of various reasons
in XSLT1 the = operator is a set compare
whenever you think you are using != in a string compare
not(=) is what you really want (in 99% of the cases)
[not(@title = 'Consent Form Requirements')]
is what you should do