webMethods

webMethods

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
  • 1.  ino:id attribute unavailable

    Posted Thu March 25, 2004 09:05 AM

    Hello,

    I am trying to retrieve the ino:id attribute from a TXMLObject and it is unavailable. I don
    MyFirstXQuery.java (2.26 KB)


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


  • 2.  RE: ino:id attribute unavailable

    Posted Thu March 25, 2004 09:25 AM

    Hello Julien,

    From scratch, ino:id attributes are not available from an XQuery result (whereas they are from an X-Query result).
    There must be a reason why (which I don’t know), but Tamino “filters out” ino:id when queried with an XQuery.

    Software AG provides a vendor specific XQuery function : “tf:getInoId”, it returns ino:id of current document.

    Hope this helps.

    Bertrand Martel
    Software AG France


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


  • 3.  RE: ino:id attribute unavailable

    Posted Thu March 25, 2004 10:35 AM


  • 4.  RE: ino:id attribute unavailable

    Posted Thu March 25, 2004 10:47 AM

    It was unfortunate that the ino:id was originally added to response documents for X-Query. It had the unfortunate affect of modifying a user’s document with an unexpected attribute.

    It is better to think of the ino:id as being an automatically generated docname by Tamino. Generally a user would be better off assigning their own docnames and not relying on ino:ids. I know that we have some test programs that use GUIDs as docnames.


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