I am using a xquery file from my java application which is implementing XQJ. I want to send the element names  used in xquery expression from my java application.
1) Is it possible to give element names as variables in xquery exrpession.

2) If it is possible can I bind the element  names as string from my application and use it in xquery expression or if there is another way for passing variable element names in same query.

Thanks in advance.