PassThru returns the xsl document

Hi:

I have Tamino 2.3.1.4 with apache and Tomcat 3.2.1 and I have installed PassThruServlet but, when I query, it returns the xsl document.

The query is like:

http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter
/tamino/database/collection
?_xql(1,10)=doctype
&_xslsrc=http://localhost/tamino/database/collection/xsl:stylesheet/xslfile

I have try to put the tamino query (_xql(1,10)=doctype) in a xml file in web server and the next query works correctly:

http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter
/file_with_tamino_result.xml
?_xslsrc=http://localhost/tamino/database/collection/xsl:stylesheet/xslfile

What is wrong?

Thanks and regard.

Hi Juan Carlos,

something might be wrong with your query or your servlet installation. I recommend to check the following:

Best Regards
Christine

Thanks for your help Christine.

The problem was I had forgotten put this lines in xls file:

<xsl:output method=“html” indent=“yes”/>
<xsl:strip-space elements=“*”/>

And PassThru returns me the xsl file.

Now it is working fine

Regards.