summaryrefslogtreecommitdiff
path: root/items.xsl
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-01-19 12:48:28 +0100
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-01-19 12:48:28 +0100
commit82f97c6c6a5904536aaf34cbd7e1c8dc8a0c2e37 (patch)
tree7afb11c0175345521814dd9b7ee3dde9e918fd85 /items.xsl
parent38c40f33530ff187460346724d23e57c61a54c19 (diff)
downloadclientdata-82f97c6c6a5904536aaf34cbd7e1c8dc8a0c2e37.tar.gz
clientdata-82f97c6c6a5904536aaf34cbd7e1c8dc8a0c2e37.tar.bz2
clientdata-82f97c6c6a5904536aaf34cbd7e1c8dc8a0c2e37.tar.xz
clientdata-82f97c6c6a5904536aaf34cbd7e1c8dc8a0c2e37.zip
Converted DOS newlines to UNIX format
Sorry, but DOS got it wrong. :P
Diffstat (limited to 'items.xsl')
-rw-r--r--items.xsl104
1 files changed, 52 insertions, 52 deletions
diff --git a/items.xsl b/items.xsl
index 4f8e3f0d..acf9e7d8 100644
--- a/items.xsl
+++ b/items.xsl
@@ -1,53 +1,53 @@
-<?xml version="1.0"?>
-<!-- Edited by XMLSpy® -->
-<xsl:stylesheet version="1.0"
-xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>
-
-
-<xsl:variable name="icon-dir">graphics/items</xsl:variable>
-
-<xsl:template match="/">
- <html>
- <body>
- <h2>Item Database</h2>
- <xsl:for-each select="items/item">
- <xsl:sort select="@type"/>
- <xsl:if test="@name">
-
- <p>
- <table border="1">
- <tr bgcolor="ddddff">
- <td>
- <xsl:if test="@image">
- <img src="{$icon-dir}/{@image}"/>
- </xsl:if>
- </td>
- <td colspan="3">
- <xsl:value-of select="@name"/>
- </td>
- </tr>
-
- <tr>
- <td><strong>ID: </strong><xsl:value-of select="@id"/></td>
- <td><strong>Type: </strong><xsl:value-of select="@type"/></td>
- <xsl:if test="@weapon_type">
- <td><strong>Skill: </strong><xsl:value-of select="@weapon-type"/></td>
- </xsl:if>
- <td><strong>Weight: </strong><xsl:value-of select="@weight"/></td>
- </tr>
-
- <tr>
- <td colspan="4"><strong>Description: </strong><xsl:value-of select="@description"/></td>
- </tr>
- <tr>
- <td colspan="4"><strong>Effect: </strong><xsl:value-of select="@effect"/></td>
- </tr>
- </table>
- </p>
- </xsl:if>
- </xsl:for-each>
- </body>
- </html>
-</xsl:template>
+<?xml version="1.0"?>
+<!-- Edited by XMLSpy® -->
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>
+
+
+<xsl:variable name="icon-dir">graphics/items</xsl:variable>
+
+<xsl:template match="/">
+ <html>
+ <body>
+ <h2>Item Database</h2>
+ <xsl:for-each select="items/item">
+ <xsl:sort select="@type"/>
+ <xsl:if test="@name">
+
+ <p>
+ <table border="1">
+ <tr bgcolor="ddddff">
+ <td>
+ <xsl:if test="@image">
+ <img src="{$icon-dir}/{@image}"/>
+ </xsl:if>
+ </td>
+ <td colspan="3">
+ <xsl:value-of select="@name"/>
+ </td>
+ </tr>
+
+ <tr>
+ <td><strong>ID: </strong><xsl:value-of select="@id"/></td>
+ <td><strong>Type: </strong><xsl:value-of select="@type"/></td>
+ <xsl:if test="@weapon_type">
+ <td><strong>Skill: </strong><xsl:value-of select="@weapon-type"/></td>
+ </xsl:if>
+ <td><strong>Weight: </strong><xsl:value-of select="@weight"/></td>
+ </tr>
+
+ <tr>
+ <td colspan="4"><strong>Description: </strong><xsl:value-of select="@description"/></td>
+ </tr>
+ <tr>
+ <td colspan="4"><strong>Effect: </strong><xsl:value-of select="@effect"/></td>
+ </tr>
+ </table>
+ </p>
+ </xsl:if>
+ </xsl:for-each>
+ </body>
+ </html>
+</xsl:template>
</xsl:stylesheet> \ No newline at end of file