Hello yacine,
I believe that Uli has already explained the solution to your problem in the thread on the Schema Editor forum (here).
I would like to try and explain some of the issues around this problem to try and clarify matters…
Tamino does not actually display anything - it just returns some document(s) to the client.
The response to a query can potentially contain multiple documents (or no documents!), so Tamino wraps the results in the ino:response and xql:result elements to ensure that a valid and well-formed XML document is returned to the client.
If you know exactly which document you need to access (you know its ino:id, for example) you can access it directly. Using this method, because only one document will be returned Tamino will not wrap the document in ino:response or xql:result elements.
For example, if you are issuing a query that looks like this:
http://localhost/tamino/test/AccessList?_xql=/AccessList[@ino:id=1]</pre><BR>You will receive an ino:response document to this, because of the reasons described above.<BR><BR>However, if you issue this request instead:<BR><pre class="ip-ubbcode-code-pre"> http://localhost/tamino/test/AccessList/AccessList/@1
You will receive just an AccessList document - without the ino:response / xql:result elements.
If you want/need to convert a Tamino Schema Definition (TSD) to an XML Schema Definition (XSD), the easiest way is to rename the .tsd file to a .xsd file.
A Tamino Schema Definition is an XML Schema already. All the Tamino specific information is stored in xs:annotation elements (you could consider this to be equivalent to storing information in comments).
The current Tamino Schema Definition Language does not support the complete XML Schema specification - but if you are going from the TSDL subset to XSD there is no problem.
I hope this is helpful. If you are still having problems with the XSL, please let us know.
Greetings,
Trevor.
#Tamino#webMethods#API-Management