XQuery + XSLT

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:

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

thx i’ll watch it :slight_smile: