+ <xsl:choose>
+ <xsl:when test="system-property('xsl:vendor')='Transformiix'">
+
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="html"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="doc" mode="html">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="refresh" content="5;url=menu.pl?action=display"/>
+ </head>
+ <body style="background-color: #eee; color: #333;">
+ <div style="margin-top: 2em; margin-left: auto; margin-right: auto; border: solid 0.1em #f88; width: 30em; background-color:#fff; font-size: 0.8em;font-family: Verdana, Arial, Helvetica; padding: 2em;">
+ <h2>XUL-Menü ist aktiviert</h2>
+ <h3>Nur der Firefox-Browser mag das XUL-Menü.</h3>
+ Wir schalten auf die kompatiblere <a href="menu.pl?action=display">HTML-Variante</a> um.
+ <h3>Only the Firefox-Browser likes the XUL-Menu.</h3>
+ We switch to the <a href="menu.pl?action=display">HTML-Version</a> now.
+ </div>
+ </body>
+ </html>