<?xml version="1.0" encoding="utf8"?>
<!--
$Id: opera.xsl,v 1.12 2004/10/16 03:21:37 jmates Exp $

The author disclaims all copyrights and releases this document into
the public domain.

Stylesheet for eolas and Opera on Mac OS.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0">
  <xsl:import href="default.xsl"/>
  <xsl:output method="xml" media-type="text/html" indent="no"/>
  <xsl:strip-space elements="*"/>
  <xsl:preserve-space elements="info note warn li"/>
  <xsl:param name="stylesheet.version">
    <xsl:text>$Id: opera.xsl,v 1.12 2004/10/16 03:21:37 jmates Exp $</xsl:text>
  </xsl:param>
  <xsl:param name="request.preferred_style">
    <xsl:text>opera</xsl:text>
  </xsl:param>
  <xsl:template match="li">
    <xsl:element name="{name()}">
      <xsl:choose>
        <xsl:when test="@style">
          <xsl:attribute name="style">
            <xsl:value-of select="@style"/>
          </xsl:attribute>
        </xsl:when>
        <xsl:when test="@class">
          <xsl:attribute name="class">
            <xsl:value-of select="@class"/>
          </xsl:attribute>
        </xsl:when>
        <xsl:when test="@xml:lang">
          <xsl:attribute name="class">
            <xsl:text>lang-</xsl:text>
            <xsl:value-of select="@xml:lang"/>
          </xsl:attribute>
        </xsl:when>
      </xsl:choose>
      <xsl:apply-templates/>
    </xsl:element>
  </xsl:template>
</xsl:stylesheet>
