Hi,
I think that the “xq:result” name test in the path expression in line 37 might cause the trouble:
<xsl:for-each select=“//xq:result/xs:schema”>
Depending how you get your query result you have to work on an “xq:result” element or a “result” element
For example the interactive interface delivers an “xq:result” element, but the XQuery tool gives you a “result” element without any namespace prefix.
So your problem might be solved by removing the “xq” namespace prefix.
Best Regards,
Thorsten
#API-Management#Tamino#webMethods