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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

converting upper case letters to lower case

  • 1.  converting upper case letters to lower case

    Posted Mon May 14, 2007 04:12 PM

    Hi,

    Im using Tamino XML Server.

    In the database we have a column email id.The data that was entered contains both Capital letters and lower case letters which needs to be converted to lower case completely.

    I tried to use lower-case() in XQuery but it throws an error which says function unknown.

    Thanks in advance,

    Vijayanand


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: converting upper case letters to lower case

    Posted Mon May 14, 2007 04:50 PM


  • 3.  RE: converting upper case letters to lower case

    Posted Mon May 14, 2007 05:23 PM

    Hi,

    I tried
    for $x in input()//text() return lower-case($x)
    and it works fine. Are you sure you are using Tamino version 4.4?


    #webMethods
    #API-Management
    #Tamino


  • 4.  RE: converting upper case letters to lower case

    Posted Tue May 15, 2007 09:22 AM

    Hey thanks a lot for the quick response.

    Im currently using 4.2.1.


    #Tamino
    #API-Management
    #webMethods


  • 5.  RE: converting upper case letters to lower case

    Posted Tue May 22, 2007 04:59 PM

    Hi,

    As I have told you Im using 4.2.1 .
    I request you to help me how to convert upper case letters to lower case in this version.

    Thanks in advance,

    Vijayanand


    #Tamino
    #API-Management
    #webMethods


  • 6.  RE: converting upper case letters to lower case

    Posted Tue May 22, 2007 06:35 PM

    I am sorry, I do not have a 4.2 installation any more, as this version is out of maintenance

    Regards

    Harald


    #API-Management
    #webMethods
    #Tamino


  • 7.  RE: converting upper case letters to lower case

    Posted Wed May 23, 2007 12:04 AM

    There are no case translation functions provided in 4.2. If you can’t upgrade to Tamino 4.4, then you will need to use a programming tool and the Java API or .Net API to modify your data.


    #webMethods
    #Tamino
    #API-Management


  • 8.  RE: converting upper case letters to lower case

    Posted Wed May 23, 2007 10:00 AM

    It also possible that you may be able to write a custom SXS query function.

    E.g. provide a Java SXS that wraps String.toLowerCase().


    #API-Management
    #Tamino
    #webMethods


  • 9.  RE: converting upper case letters to lower case

    Posted Tue May 29, 2007 10:33 PM

    Vijayanand, sorry for posting here without answering your question …
    but I was interested about this Java SXS wrapping.
    Mark, can you please provide a link with some more information about this topic ? Implementation examples etc.
    Thanks.


    #webMethods
    #API-Management
    #Tamino


  • 10.  RE: converting upper case letters to lower case

    Posted Wed May 30, 2007 09:06 AM

    All the documentation for SXS is readable online:

    http://techcommunity.softwareag.com/ecosystem/documentation/crossvision/ins441/servext/sepref.htm

    I was thinking of an SXS query function. There is an example Java_Query.


    #webMethods
    #API-Management
    #Tamino