Quering non-xml properties

All,

I have several non-xml documents within Tamino 4.4 I would like to get their media type property using a X-Query or X-Query. Could you give me a hand with this?

Thanks in advance,

Claudio

Hi,

you can use the function tf:getMediaType, e.g.

declare namespace ino=“http://namespaces.softwareag.com/tamino/response2

for $x in collection(“ino:etc”)/ino:nonXML
return tf:getMediaType(root($x))

In Tamino 4.2, you must also define the tf prefix

Regards

Harald