I want to obtain the ino:id and the ino:docname of the resources added in a doctype. I use the TQuery(doctype). I found out that this brings from the server the whole document. For xml I can use : TQuery(“doctype/@ino:id”) but for NON XML it doesn’t work.
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.