I tried to use the XSLTAddRule (Apache2). The following two lines :
XSLTAddRule "/srv/phpx/doc/mozilla.xsl" "$HEADER[User-Agent] =~ '/Mozilla/'"
XSLTAddRule "/srv/phpx/doc/opera.xsl" "$HEADER[User-Agent] =~ '/Opera/'"
The following line doesn't generate any error and works as it should :
XSLTAddRule "/srv/phpx/doc/mozilla.xsl" "$HEADER[User-Agent] = 'Mozilla/5.0
(X11; U; Linux i686; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6'"
It did exactly the same thing with these versions under Apache2 :
mod-xslt 1.3.8 2004112100
mod-xslt 1.3.9 2005072700