Quote:
quote:Originally posted by mhkay
Perhaps the value of $req_id isn't being passed in correctly?
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
I did some testing, and what I can tell the parameter is correct. I used <xsl:value-of select="$req_id"/> inside the root_node template and the output was what it was supposed to be.
For some reason, when run from the servlet, the processing of the template stops in <xsl:for-each select="//*">... As I said, when run from the console everything works fine.
I guess the problem isn't in the xslt(?) (or in the document() call) cause it works from the console, but something in the servlet code I have missed. Perhaps something silly... I have to investigate more.