I submitted a bug that occurs when I am testing variables inside an xsl:choose statement, I think the problem may be related to variable scope. Now this code may be pushing the limits on using variables inside XSL, if someone could take a look at the XSL file and say yes or no on the usage, that would be helpful. Although if the XSL code is invalid, it still fails with an NPE. Also this code worked fine in DOM mode. Thanks John G http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2972
