I received this tip today when starting Stylus Studio 2008:
Did you know...
Stylus Studio XML Enterprise Suite lets you generate C#
code for .NET from XQuery and XSLT. Just build an
XQuery, for example, select XQuery > Generate Code >
Generate C# Code from the menu, and Stylus Sutdio
generates Java application code that allows you to run
the XQuery programatically from a Java application.
If says that if you use the "Generate C# Code" command, that it will generate Java code. I think you need to reword that.