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
  • 1.  xslt trim function

    Posted Thu August 13, 2009 03:12 AM

    Hello All,

    I have an xslt service and need to trim the element values. I am using inbuilt function fn:normalize-space() and it does not work. Do I need to include any xslt namespace?

    I am trying to do the following thing in my xslt service

    <xsl:element name=“data”><xsl:value-of select=“fn:normalize-space(data1)”/></xsl:element>


    and it does not work. The value is still with the whitespaces.

    Can somebody help ?

    Thanks in advance,


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: xslt trim function

    Posted Thu August 13, 2009 03:37 AM

    no worries, I just figured it out how

    just need this normalize-space(data1) instead of fn:normalize-space(data1).


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services