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.

 View Only
Expand all | Collapse all

Single and Double Quotes

  • 1.  Single and Double Quotes

    Posted Sun January 30, 2005 03:11 PM

    In an XQuery statement how do you filter single and double quotes for the parameters that are passed.

    Currently I’m enclosing my parameters in single quotes because when I build the statement in C# I use double quotes to create the query string.

    For example if somebody was looking in the database for a movie like {A Bug’s Life} or {Movie “Nick Name” Title}. Any suggestions would be helpful.

    Thanks


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Single and Double Quotes

    Posted Mon January 31, 2005 02:28 PM

    You can represent embedded single or double quotes by using their respective character references, e.g.


    • 'A Bug&apos;s Life'</pre><LI><pre class="ip-ubbcode-code-pre">"Movie "Nick Name" Title"

    #Tamino
    #API-Management
    #webMethods