<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
  <html>
  <body>
    <h2>shipclasses</h2>
    <h3>yupyup... BANG BANG BANG</h3>
    <table border="1">
    <tr bgcolor="#FFCC00">
      <th align="left">Name</th>
      <th align="left">ID</th>
      <th align="left">type</th>
      <th align="left">hull</th>
      <th align="left">shield</th>
      <th align="left">size</th>
      <th align="left">speed</th>
      <th align="left">metal</th>
      <th align="left">crystal</th>
      <th align="left">eonium</th>
      <th align="left">vespine</th>
      <th align="left">support</th>
      <th align="left">targets</th>

      <th align="left">weapons</th>
      <th align="left">weapon_power</th>
      <th align="left">sensorrange</th>
      <th align="left">sensorpower</th>
      <th align="left">upkeep</th>
      <th align="left">population</th>
      <th align="left">build_cost</th>
      <th align="left">description</th>

    </tr>
    <xsl:for-each select="response/shipclass">
    <tr>
      <td><xsl:value-of select="@name"/></td>
      <td><xsl:value-of select="@id"/></td>
      <td><xsl:value-of select="@type"/></td>
      <td><xsl:value-of select="@hull_max"/></td>
      <td><xsl:value-of select="@shield_max"/></td>
      <td><xsl:value-of select="@size"/></td>
      <td><xsl:value-of select="@speed"/></td>
      <td><xsl:value-of select="@metal"/></td>
      <td><xsl:value-of select="@crystal"/></td>
      <td><xsl:value-of select="@eonium"/></td>
      <td><xsl:value-of select="@vespine"/></td>
      <td><xsl:value-of select="@support"/></td>
      <td><xsl:value-of select="@targets"/></td>

      <td><xsl:value-of select="@weapons"/></td>
      <td><xsl:value-of select="@weapon_power"/></td>
      <td><xsl:value-of select="@sensorrange"/></td>
      <td><xsl:value-of select="@sensorpower"/></td>
      <td><xsl:value-of select="@upkeep"/></td>
      <td><xsl:value-of select="@population"/></td>
      <td><xsl:value-of select="@build_cost"/></td>
      <td><xsl:value-of select="@description"/></td>

    </tr>
    </xsl:for-each>
    </table>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>