IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

XSL to check the indexes in Tamino Collection

  • 1.  XSL to check the indexes in Tamino Collection

    Posted Fri May 28, 2004 03:18 PM

    Hi,
    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=“XML Schema
    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?

    Thanks,
    Guillermo
    indices.xsl (4.44 KB)


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: XSL to check the indexes in Tamino Collection

    Posted Fri July 30, 2004 03:15 PM

    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.

    Regards,
    Juliane.


    #webMethods
    #Tamino
    #API-Management