Hi,
My requirement is to query a doc where, I wouldn't know the element
name until run-time as the name would be coming from the browser.
Thus, based on the element name, different queries should be run. How
do I achieve this ?

Example :

for $doc in doc('foo.xml")/rootElement
where $doc/??? = some_data

Since the ??? should be changed for values coming from browser, I
should probably have a switch-case type of construct where different
queries are run.

Thanks,
Nagesh
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
  • [MarkLogic... ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)

Reply via email to