webMethods

webMethods

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

xquery: how to parse a recursive structure without user defi

  • 1.  xquery: how to parse a recursive structure without user defi

    Posted Wed June 23, 2004 09:38 AM

    how to parse a recursive structure without user define function (xquery)?
    i use tamino 4.1.4 and my structure is like that :



    toto

    titi


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: xquery: how to parse a recursive structure without user defi

    Posted Wed June 23, 2004 04:21 PM

    Hi,

    I do not fully understand. XQuery is not about parsing but it
    involves parsing of the XML it works upon. In the example you
    provide elements ‘a’ may contain other ‘a’ elements. You can,
    for example, search for any a’s via ‘input()//a’. What however
    is impossible without a user-defined recursive function is
    to lateron find out on which level the current ‘a’ element
    actually is located.

    Regards,
    Juliane.


    #webMethods
    #API-Management
    #Tamino