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 a image in nonxml doctype

    Posted Tue December 14, 2004 03:41 PM

    Hi,

    i have this image in a nonxml doctype

    http://localhost/Cinetheque/cinetheque/image/1.jpg and i want to delete it

    i have try the example nonxmlgreeting but … no way


    else

    can someone explain me how to store images where the name of the image content spaces (Spiderman 2.jpg)


    Thanks


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


  • 2.  RE: Delete a image in nonxml doctype

    Posted Wed December 29, 2004 05:02 PM

    Hi,

    one way is to use an XQuery update delete statement:

    declare namespace tf=“http://namespaces.softwareag.com/tamino/TaminoFunction
    update delete input()/image[tf:getDocname(.) = “1.jpg”]/…


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