Hello everyone,
I was wondering if XQuery fro Tamino 4.1.4.4 supports using CDATA?
I’d like to acomplish something like this:
for $p in input()/person[instances/instance/@id=$people/person/@iid]
where $p/@active=1
return
<![CDATA[<]]{local-name($p/instances/instance/@role)}<![CDATA[>]]
The idea is, that I have an attribute in the doc instance, and I’d like to return it as a node. I tried simply <{local-name($p/instances/instance/@role)}> which obviously didn’t work.
If you have any other suggestion on how to acomplish this, I’d apreaciate it greatly.
Thank you very much!
Peter Endisch
---------------------------------------
I’m a Zen Garden Maintenance Engineer
---------------------------------------
#Tamino#API-Management#webMethods