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
Expand all | Collapse all

XQuery + XSLT

  • 1.  XQuery + XSLT

    Posted Fri November 03, 2006 06:58 AM

    Hi to all, the question that i have is simple,

    i have a XQuery that i made and i want do associate a stylesheet to the tamino response (like can do in the formhandlers)…

    the query it’s like this:

    for $b in input()/usuarios
    where $b/login = "xxx" and $b/password = "xxx"
    return $b

    and the output it’s like this:

    <ino:response>
    &#8722;
    <xq:query>
    for $b in input()/usuarios
    where $b/login = "xxx" and $b/password = "xxx"
    return $b
    </xq:query>
    &#8722;
    <ino:message ino:returnvalue="0">
    <ino:messageline>XQuery Request processing</ino:messageline>
    </ino:message>
    &#8722;
    <xq:result>
    &#8722;
    <usuarios xsi:noNamespaceSchemaLocation="C:\Documents and Settings\Administrador\Mis documentos\seminario\usuarios.xsd">
    <login>xxx</login>
    <password>xxx</password>
    </usuarios>
    </xq:result>
    &#8722;
    <ino:message ino:returnvalue="0">
    <ino:messageline>XQuery Request processed</ino:messageline>
    </ino:message>
    </ino:response>

    well in the formhandlers we can use the

    
    <input type="hidden" name="_HTMLreq" value="_XQL//login.xslt">

    to asociate the Tamino Response to the login.xslt file… how i can do this in the XQuery?

    regards :slight_smile:


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: XQuery + XSLT

    Posted Fri November 03, 2006 06:28 PM

    Take a look at the XSLT Server Extension provided as an example of how to use X-Tension.


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: XQuery + XSLT

    Posted Fri November 03, 2006 07:18 PM

    thx i’ll watch it :slight_smile:


    #API-Management
    #webMethods
    #Tamino