[xquery-talk] How can we runtime pass element name to xquery

Kunal Chauhan mail4ck at gmail.com
Mon Apr 18 19:23:54 PDT 2011


Hi,

I want to find some elements from the document.
those element name I will get during runtime so, how can I pass that value
into query ?

I tried it in below manner

$doc := doc(...)
$element_name := $doc//...   I got element name as a string
$element_tag := $doc//$element_name

please suggest me a proper way

Thanking you,

Regards,
*Kunal Chauhan*
mail4ck at gmail.com
[+918655517141]
[+919904983614]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://x-query.com/pipermail/talk/attachments/20110418/64d595b9/attachment-0001.htm


More information about the talk mailing list