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
Expand all | Collapse all

Xpath support

  • 1.  Xpath support

    Posted Thu February 28, 2002 02:39 PM

    Hello,

    I was wondering which Xpath axes are supported in Quip 1.6.1 and which are not. I’m trying to use

    parent::, following::, and ancestor::

    but they don’t seem to work.

    Thanks in advance, sorry if I missed anything in the documentation.

    Joris


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Xpath support

    Posted Tue March 05, 2002 09:00 AM

    As you might know, in the current working draft
    of XQuery not all XPath axes are supported. And to
    my knowledge this will notr change in forthcoming
    drafts.
    Quip 1.6.1 however supports all XPath axes.
    Try eg:
    ( )/child::node()/following::node()
    …but quips path expression handling is not quite
    correct. Duplicates are not removed (which might
    get in the result set if you use the parent axes, eg:
    ( )/child::node()/parent::node()
    has duplicates in the result set.

    Foer the future, hopefully within a fortnight,
    the next version of quip (2.1.1) will only support
    those axes which are part of the XQuery draft but
    these correctly, ie with result in document order
    and with no duplicates.
    Sven Eric


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: Xpath support

    Posted Tue March 05, 2002 01:52 PM