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.  How can i compare a string

    Posted 04/24/04 08:10 AM

    In xslt how can i compare a string value having apostraphy symbol in it.

    My xml document is this:



    Contractor’s special



    Now applying the xslt to the above document i want the result as given below only if the title is “Contractor’s special”.

    Book Name : Contractor special.

    How can i acheive this?


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: How can i compare a string

    Posted 05/19/04 01:21 PM

    What about something like:

    <xsl:when test=‘./text()=“Contractor's”’>

    Another option is to use the concat() function.

    Best Regards,
    Christine


    #Tamino
    #API-Management
    #webMethods