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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Getting to x-plorer properties

    Posted 05/08/03 11:34 AM

    Is there a way to get the property information for a document by using one of the query methods? (I’m refering to the properties shown in x-plorer, date modified etc.)

    I generally use xquery.


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Getting to x-plorer properties

    Posted 05/08/03 05:49 PM

    This works for me:

    declare namespace tf=‘http://namespaces.softwareag.com/tamino/TaminoFunction
    for $a in input()/,
    $doc in root($a)
    return
    <Item docid={tf:getInoId($doc)}
    lastmodified={tf:getLastModified($doc)}>


    HTH


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: Getting to x-plorer properties

    Posted 05/09/03 10:15 AM

    Hi Jean,
    here an additional answer:
    Tamino XQuery provides functions for retrieving document name, last modification date and ino: id of an instance. The following query lists all names, modification dates and ino:id of the documents in the given collection:

    declare namespace tf=“http://namespaces.softwareag.com/tamino/TaminoFunction

    for $a in input()
    return <instance name = {tf:getDocname($a)}
    last-modified = {tf:getLastModified($a)}
    id = {tf:getInoId($a)}/>


    #API-Management
    #webMethods
    #Tamino


  • 4.  RE: Getting to x-plorer properties

    Posted 05/09/03 10:47 AM

    Thanks for the replies, just one more additional question.

    Is it possible to search on lastModified using xquery and if it is, what are the performance implications if any? (I doubt that it’s possible to search but thought I might as well ask.)


    #Tamino
    #API-Management
    #webMethods