We can not apply comparison operator inside script if that script is embedded in xqy file.
Reason: If we give < than xquery parser throw an error like this "unexpected token syntax error, unexpected Junk_, expecting TagQName_" because it understand < as tag beginning.
Similarly If we give lt than scripting engine can't understand abd browser will not support.....
Conclusion: Script having comparison operator must be placed in seperate file with .js extension
No comments:
Post a Comment