XSL to check the indexes in Tamino Collection

I did a XSL to check the indexes in a Tamino collection.
I have a problem to show the full XPath of the element or attribute indexed.

The XSL process the output of following XQuery (collection=ino:collection):

declare namespace xs=“http://www.w3.org/2001/XMLSchema
declare namespace tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition
for $d in input()/xs:schema
where $d/xs:annotation/xs:appinfo/tsd:schemaInfo/tsd:collection/@name eq ‘your_collection’
return $d

The problems are in the templates:
line 64
<xsl:template match=“xs:element/xs:annotation/xs:appinfo/tsd:elementInfo/tsd:physical/tsd:native/tsd:index” >
line 87
<xsl:template match=“xs:attribute/xs:annotation/xs:appinfo/tsd:attributeInfo/tsd:physical/tsd:native/tsd:index” >

Do you have any suggestion?

indices.xsl (4.44 KB)

Hi Guillermo,

I have tried to reproduce the problem, but to me the output
looked satisfactory. Could you please explain what kind of
problem you encounter.