Thanks, It works now!
Any way, with the method I presented before problems can come up if the doctype has a prefix (xsl:stylesheet) because the xquery needs the namespace to be declared.
A faster way I found to obtain both the docname and id is through TQuery:
doctype/@ino:docname | @ino:id
Previously I’ve tried “doctype/@*” and “doctype/@ino:docname , @ino:id” but the syntax seems not to be implemented in tamino xpath.
#webMethods-Tamino-XML-Server-APIs#webMethods#API-Management