Hello Jean,
after I had posted a dissertation on the storage and retrieval of nonXML documents in Tamino, I read through the whole thread again and came to the conclusion that I had misunderstood your problem! So I decided to delete said dissertation and ask a few clarifying questions…
Is it correct to think that you have successfully defined a nonXML schema, inserted documents into it and can retrieve them with queries executed via the browser?
Like this:
http://<hostname>/tamino/<DB name>/<Collection name>?_xql=/<doctype name></pre><BR>Is it also correct to say that the problem now is how to retrieve <B>a set</B> of nonXML documents - rather than one specific document - via the ActiveX API?<BR><BR>If this is the case, I think that you should use a combination of the XML and nonXML controls from the ActiveX API.<BR><BR>Use the XML control (TaminoX.TaminoX1) to execute a query which identifies the nonXML documents, then iterate through the XML results and feed the ino:docname into the nonXML control (TaminoNonXml.TaminoNonXmlCtrl1) to retrieve the nonXML content.<BR><BR>When I execute the query from my previous post in a browser, I get this result:<BR><pre class="ip-ubbcode-code-pre"> <?xml version="1.0" encoding="ISO-8859-1" ?>
<ino:response xmlns:ino="http://namespaces.softwareag.com/tamino/response2"
xmlns:xql="http://metalab.unc.edu/xql/">
<xql:query>/ino:nonXML[@ino:docname~="dtp*"]</xql:query>
<ino:message ino:returnvalue="0">
<ino:messageline>XQL Request processing</ino:messageline>
</ino:message>
<xql:result>
<ino:nonXML ino:docname="dtp_xmen_02.jpg" ino:id="5" />
<ino:nonXML ino:docname="dtp_xmen_03.jpg" ino:id="6" />
</xql:result>
<ino:message ino:returnvalue="0">
<ino:messageline>XQL Request processed</ino:messageline>
</ino:message>
</ino:response>
The result of this query is XML (perhaps you could say that it is the metadata for the nonXML documents) and so should be fine to process with the XML control.
If the problems are with the ActiveX API (rather than with the schema or the queries) it is probably better to post to the ActiveX API Forum.
I hope that helps,
Trevor.
#API-Management#Tamino#webMethods