Hi all,

I have a string and I want to execute it as an expression.

for example I have below xml file.

MyXML.xml
<doc>
<abc temp="$doc/xyz">123</abc>
<xyz>234</xyz>
</doc

now when i write query like

$doc := MyXML.xml/doc
$result := $doc/abc/@temp

return $result

RESULT (I am getting) : $doc/xyz

RESULT (I am expecting) : <xyz>234</xyz>

that means i am getting $doc/xyz as an string but how can I execute this
string and get my desired result.


Thanks and Regards,

-- 
*Kunal Chauhan*
[email protected]
[+918655517141]
[+919904983614]
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to