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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

max() and replace() ; Quip supports XPath 2.0 functions?

  • 1.  max() and replace() ; Quip supports XPath 2.0 functions?

    Posted Fri December 19, 2003 09:11 PM

    2 problems with XPath functions…

    with max(2,3) i get the error ‘wrong number of arguments’

    with replace(“abracadabra”, “bra”, “*”) i get the error ‘unparsed data’

    what’s wrong??
    does quip support XPath 2.0 functions?


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: max() and replace() ; Quip supports XPath 2.0 functions?

    Posted Mon December 22, 2003 04:57 PM

    The max function takes one argument, which is a sequence. So it must be written max((2,3)). The replace() function is not implemented in QuiP. QuiP was developed as an early prototype/demonstrator of XQuery functionality and it is not up to date with the latest specs. For a more up-to-date implementation, you might try Saxon available from http://saxon.sf.net/

    Michael Kay


    #webMethods
    #API-Management
    #Tamino