From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Kofman, Irena
Sent: 05 October 2004 15:41
Subject: [saxon] spesial characters in query
If I try to compile a query that looks like:
Query = “for $e in /*/*[string(.)='"+searchString+"'] order by string($e) return $e”;
XQueryExpression exp = xquery.compileQuery(Query);
And searchString contains characters like ‘,\,* and some more, I get exceptions.
What can I do about it?