I think the URLRewrite filter sets query parameters on an
HTTP request URI. That's not the same thing as setting a Java system property.
To set a Java system property you can use
System.setProperty("test.me", "this is a
or you can use the -D option on the command
I have a question about Saxon's system-property().
You said below that Java system properties can be retrieved via
system-property(). Not being a Java guy, I'm assuming that means that
you can use setAttribute() in Java and make those properties visible.
Currently, I'm looking for a solution to a development issue. We are
using Tomcat with the URLRewrite  filter to run a servlet that executes an
XSL transform. In my URL rewrite rule I did a:
<set type="request" name="test.me">This is a
and in my XSL transform I did:
<xsl:variable name="test.me" as="xsd:string?"
However, $test.me didn't contain anything. So am I
on the right track or not?
Another way(*) you could do this is
allowing you to control which xsl:message instructions
are active by setting Java system properties.
(*) Martin, if you haven't see the other responses you
can find them on http://saxon.markmail.org/
a way to switch on or off the xsl:message output? I was rather
hoping for a commons logging equivalent that would allow types of messages
to get set?