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

XQUERY Filter and QUIP 2.2.1.1 remark

  • 1.  XQUERY Filter and QUIP 2.2.1.1 remark

    Posted Wed August 07, 2002 07:23 PM

    :confused: Hello,

    I try to use QUIP to prepare customer presentation of XQUERY. I’am working on the filtering function using the W3C Working Draft 30 April 2002.

    The problem is :

    - abc.xml: xml source document
    - filter.xquery : xquery

    my query is :

    filter(document(“abc.xml”)//(a | b)

    The return is invalid :




    toto


    tutu
    tata


    The tag/element should not be empty,

    The solution is :


    {
    filter(document(“abc.xml”)//(a,a/text(),b, b/text()))
    }


    is it a bug ?

    Regards

    Sebastien WAFFLART

    sebastien.wafflart@softwareag.com
    abc.xml (190 Bytes)


    #webMethods
    #API-Management
    #Tamino