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.  xquery context

    Posted 07/08/04 05:02 PM

    Hi group,
    I am trying to execute two Xquery who should give a result but the second one give me a
    <ino:message ino:returnvalue=“0”>
    ino:messagelineXQuery Request processed</ino:messageline>
    </ino:message>
    The only difference between both is the context and the filter.
    I let you see :
    the first one :
    input()/generic-show/schedule/entry[
    …/…/people/person/@iid = ‘adamferrara2004host’]
    the second one :
    input()/generic-show/schedule/entry/people[
    …/…/…/people/person/@iid = ‘adamferrara2004host’]

    The both should give a result dependly the context. I don’t understand why the second one doesn’t work.

    Thank you


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: xquery context

    Posted 07/10/04 10:19 PM

    Hi,

    a definitive answer can be given only when the data are looked at. But my guess is:
    there is no child element “people” below “entry” in the data

    Regards

    Harald


    #webMethods
    #API-Management
    #Tamino