Return variable's value in XQuery
select
x.c.getstringval()
from
(select
xmlquery('declare default element namespace "some_namespace"; (: :)
for $i in /xml1/xml2
return
<info>
<xmls>($j)</xmls>
</info>'
passing
column_name
returning content) c
from xml_table2) x;
The result is:
<....>...($j)....</...>
How can I return the actual content of the variable? Why does it return as
a string?
No comments:
Post a Comment