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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  @ttribute

    Posted 05/15/03 12:11 PM

    I know that is a newbie question, but is there a way to get the text value of an attribute via xquery o x-query without parsing the element?
    Eg.



    /Root//@attribute give me also the Element Root.
    How can i get only the result ‘value’"?

    BRGS
    @nto

    [This message was edited by @nto on 15 May 2003 at 11:15.]


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: @ttribute

    Posted 05/15/03 11:55 PM

    Hello @nto,

    you can use the string() function. For example: string(/Root/@attribute)

    I hope that helps,
    Trevor.


    #Tamino
    #API-Management
    #webMethods