RE: string equality

You can use fn:compare using the Unicode codepoint collation.  This will
give you a "character by character" comparison.

All the best, Ashok

-----Original Message-----
From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Jan Hidders
Sent: Wednesday, October 29, 2003 1:06 PM
To: public-qt-comments@w3.org
Subject: string equality


Is there a comparison/equality operation in XQuery that allows me to
decide if 
two strings are equal?

Just to be clear, by "equal" I mean here really equal, i.e., without
collation 
or anything like that.

-- Jan Hidders

Received on Wednesday, 29 October 2003 16:47:12 UTC