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.


#TechXchangePresenter
 View Only
  • 1.  Tamino XQuery

    Posted Mon January 26, 2004 11:46 PM

    I am trying t execute the following xquery in Tamino. Tamino throws an access failure exception. Is this query correct? When I replace “77003-6611-1-en-pub” with a number say 6, no exceptions are thrown. But naturally, I do not get the data I want.I have a document with docname “77003-6611-1-en-pub”.

    "declare namespace tf = “http://namespaces.softwareag.com/tamino/TaminoFunction
    for $q in input()/html
    where tf:getDocname($q) = “77003-6611-1-en-pub”
    return $q

    Is this a valid query?


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Tamino XQuery

    Posted Tue January 27, 2004 09:48 AM

    Hi,

    the query needs to be:

    declare namespace tf = “http://namespaces.softwareag.com/tamino/TaminoFunction
    for $q in input()/html
    where tf:getDocname(root($q)) = “77003-6611-1-en-pub”
    return $q

    hope this helps.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #webMethods
    #Tamino
    #API-Management