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

Complex XQuery update

webMethods Community Member

webMethods Community MemberFri September 26, 2003 03:25 PM

  • 1.  Complex XQuery update

    Posted Fri September 12, 2003 11:01 PM

    Hello,
    I would like to know how can I update several nodes at root level.

    for example:

    Guillermo
    Avendano
    01/01


    How can I do a XQuery to update the elements “firstname” and “birthday”

    I was tring with something like this, but it didn’t work:

    update for $p in input()/person
    where $p/lastname = “Avendano”
    do ( replace $p/firstname
    with Guille
    replace $doc/birthday
    with 02-02
    )

    Thanks and Regards,
    Guillermo


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Complex XQuery update

    Posted Fri September 12, 2003 11:29 PM

    It works!

    Thanks anyway, I did close/open of TII.

    Guillermo


    #Tamino
    #webMethods
    #API-Management


  • 3.  RE: Complex XQuery update

    Posted Fri September 26, 2003 02:56 PM

    Hola Guillermo, aprovechando que eres hispano-hablante quer


    #webMethods
    #API-Management
    #Tamino


  • 4.  RE: Complex XQuery update

    Posted Fri September 26, 2003 03:25 PM