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.

 View Only
  • 1.  Delete non xml documents

    Posted Fri May 28, 2004 05:54 PM

    Hi,
    Can I delete a set of non xml documents using one query ?
    For exemple, I have five images into Tamino Server and I need to delete all.
    Now I delete them with a query for each one.
    thanks for all


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


  • 2.  RE: Delete non xml documents

    Posted Tue June 01, 2004 04:41 PM

    Does the following XQuery work for you?
    It does for me but I have access to a soon to be released Tamino version.

    declare namespace tf="http://namespaces.softwareag.com/tamino/TaminoFunction"
    update for $p in input()/nonXMLdoctype
    where tf:getInoId($p) = 1 do delete $p/..



    deletes a single document with ino:id = 1


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


  • 3.  RE: Delete non xml documents

    Posted Tue June 01, 2004 07:08 PM

    I’ve tried this query and I’ve received this message:
    ino:message ino:returnvalue=“6364”>
    <ino:messagetext ino:code=“INOXQE6364”>XQuery applied on non-XML doctype</ino:messagetext>
    ino:messagelineDoctype: Image</ino:messageline>
    </ino:message>

    My Tamino server version is 4.1.4.1
    Thanks for all


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


  • 4.  RE: Delete non xml documents

    Posted Wed June 02, 2004 07:56 AM

    I suspect that this is probably fixed by Tamino 4.2.


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