Yes it possible to get the schema (not DTD) but this depends on the version of Tamino.
Assume database is MYDB, collection name is COLNAME and document type for which you wish to get the schema is DOCTYPE, then:
for v2.3 (and v3.1 if you upgraded from v2.3 with schemas already defined) :
<A HREF=“http://localhost/tamino/MYDB/ino:collection?_xql=ino:collection[@ino:name=“COLNAME”]/ino:doctype[@ino:name=“DOCTYPE”]” TARGET=_blank>http://localhost/tamino/MYDB/ino:collection?_xql=ino:collection[@ino:name=“COLNAME”]/ino:doctype[@ino:name=“DOCTYPE”]
for v3.1 (which uses XML schemas):
<A HREF=“http://localhost/tamino/MYDB/ino:collection?_xql=xs:schema[//tsd:collection/@name=“COLNAME”” TARGET=_blank>http://localhost/tamino/MYDB/ino:collection?_xql=xs:schema[//tsd:collection/@name=“COLNAME” and //tsd:doctype/@name=“DOCTYPE”]
Also the API’s contain methods to get, define and undefine schemas.
hope this helps.
#Tamino#webMethods#API-Management