Tuesday 24 July 2012

eval function

Note :string in eval write in single quotes otherwise it gives you an error

Friday 20 July 2012

We can not apply comparison operator inside script if that script is embedded in xqy file

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