Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Voodoo Tech and Scripter's Den of Scriptniquity > Converted Frithweaver's crafter XSL to work for DAOC EU
Omichronicus (New Admin) 5/5/2003 1:17 PM EST : Converted Frithweaver's crafter XSL to work for DAOC EU

Omichronicus
Posts: 137
Posts With Wolves

name="734772">

Only show the 4 classic trades but better than nowt eh



<?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="/">

<center>
<table border="1" cellspacing="0" bgcolor="#000066" bordercolor="#000066" >
<tr>
<td class="ContentBoxBody" valign="top" nowrap="yes">
<b>Armorcrafters</b><BR />
 
 <xsl:for-each select="/guild_status/guild/top[@type='armorcraft']/top_char">
 <xsl:sort select="@point" data-type="number" order="descending" />
 <xsl:sort select="@name" data-type="text" />
 <xsl:value-of select="concat(substring-before(concat(normalize-space(@name),' '), ' '),': ')" />
 <xsl:value-of select="@point" />
 <BR />  
 </xsl:for-each>
</td>
<td class="ContentBoxBody" valign="top" nowrap="yes">
<b>Tailors</b><BR />
 <xsl:for-each select="/guild_status/guild/top[@type='tailoring']/top_char">
 <xsl:sort select="@point" data-type="number" order="descending" />
 <xsl:sort select="@name" data-type="text" />
 <xsl:value-of select="concat(substring-before(concat(normalize-space(@name),' '), ' '),': ')" />
 <xsl:value-of select="@point" />
 <BR />  
 </xsl:for-each></td>

</tr>
<tr>
<td class="ContentBoxBody" valign="top" nowrap="yes">

<b>Weaponsmiths</b><BR />
 <xsl:for-each select="/guild_status/guild/top[@type='weaponcraft']/top_char">
 <xsl:sort select="@point" data-type="number" order="descending" />
 <xsl:sort select="@name" data-type="text" />
 <xsl:value-of select="concat(substring-before(concat(normalize-space(@name),' '), ' '),': ')" />
 <xsl:value-of select="@point" />
 <BR />  
 </xsl:for-each>


</td>
<td class="ContentBoxBody" valign="top" nowrap="yes">
<b>Fletchers</b><BR />
 <xsl:for-each select="/guild_status/guild/top[@type='fletching']/top_char">
 <xsl:sort select="@point" data-type="number" order="descending" />
 <xsl:sort select="@name" data-type="text" />
 <xsl:value-of select="concat(substring-before(concat(normalize-space(@name),' '), ' '),': ')" />
 <xsl:value-of select="@point" />
 <BR />  
 </xsl:for-each>

</td>
</tr>

 

</table>
</center>

 

</xsl:template>

</xsl:stylesheet>

TopBottom

Deleted User (New Admin) 4/3/2004 1:04 AM EST : RE: Converted Frithweaver's crafter XSL to work for D...

Deleted User
Posts: 0

Nice work and thanks for sharing this.

Are there DTD or Schemas available for these XML files and what are the differences between the US and EU files?
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%