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
  • 1.  XQL Request processing

    Posted Thu October 24, 2002 01:31 PM

    I use passthru servlet and it works fine except this little thing:

    kurssitXQL Request processing

    appears in the beginning and the end of the result html-file. Kurssit is the root of the xml-file. How can I get rid of that part?


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: XQL Request processing

    Posted Fri October 25, 2002 02:03 PM

    This unwanted message must come from somewhere. It was either present in the query results, or it was added by the stylesheet. It wasn’t added by the passthru servlet!

    Perhaps you could say what the XML query results look like, and then show the stylesheet you are using. If necessary, simplify both, which will help to isolate the problem.

    Michael Kay


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: XQL Request processing

    Posted Fri October 25, 2002 04:04 PM

    Ok, this is how the query result starts:

    <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
    xql:query/</xql:query>
    <ino:message ino:returnvalue=“0”>
    ino:messagelineXQL Request processing</ino:messageline>
    </ino:message>
    xql:result


    I see that there’s that ino:messageline-tag…
    And at the end, there’s also one of those, so that might be it. But how can I get rid of that then? I’ll also put that stylesheet with this message.
    kurssit2.xsl (2.56 KB)


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: XQL Request processing

    Posted Mon November 04, 2002 12:04 PM

    To get rid of the unwanted text, try this:

    <xsl:template match=“/”>
    <xsl:apply-templates select=“ino:response/xql:result”/>
    </xsl:template>

    <xsl:template match=“kurssit”>


    So now your stylesheet only processes the selected xql:result element, and you will ignore the text contained in the ino:response and ino:message elements (which is where the unwanted text came from).

    HTH


    #Tamino
    #webMethods
    #API-Management


  • 5.  RE: XQL Request processing

    Posted Mon November 04, 2002 07:22 PM

    It works now fine! Thank you!!!
    Heh, sometimes you just don’t see everything…:slight_smile:


    #Tamino
    #API-Management
    #webMethods