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 question..

    Posted 07/28/03 10:15 AM

    Hi!

    I just found that I can perfome xquery() operations only on TXMLObjectAccessor objects, can somebody tell me why I can perfome similar operations on TNonXMLObjectAccessor objects?

    I know that I can perfome query() operations on both objects…

    Thank you.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 2.  RE: xquery question..

    Posted 07/28/03 11:41 AM

    Hi,

    XQuery is designed for and only applicable with XML and therefore can only be applied againest XML documents. If you try and issue XQuery againest non xml you get a INOXQE6364 error with the message “XQuery applied on non-XML doctype”. This explains why the xquery() method is only available in the TXMLObjectAccessor interface.

    With X-Query it is possible to query againest non xml but the only information you can retrieve is it ino:id and ino:docname.

    Hope this helps.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods