feature: Add Artificer to subclass merging
parent
eb5122d1a2
commit
b785234069
|
|
@ -2,6 +2,7 @@
|
||||||
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common">
|
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common">
|
||||||
<xsl:output method="xml" indent="yes" />
|
<xsl:output method="xml" indent="yes" />
|
||||||
|
|
||||||
|
<!-- Merge the compendiums together -->
|
||||||
<xsl:template match="collection">
|
<xsl:template match="collection">
|
||||||
<compendium version="5" auto_indent="NO">
|
<compendium version="5" auto_indent="NO">
|
||||||
<xsl:variable name="compendium" select="document(doc/@href)/compendium" />
|
<xsl:variable name="compendium" select="document(doc/@href)/compendium" />
|
||||||
|
|
@ -39,6 +40,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Define class variables -->
|
<!-- Define class variables -->
|
||||||
|
<xsl:variable name="Artificer" select="'Artificer'" />
|
||||||
<xsl:variable name="Barbarian" select="'Barbarian'" />
|
<xsl:variable name="Barbarian" select="'Barbarian'" />
|
||||||
<xsl:variable name="Bard" select="'Bard'" />
|
<xsl:variable name="Bard" select="'Bard'" />
|
||||||
<xsl:variable name="Cleric" select="'Cleric'" />
|
<xsl:variable name="Cleric" select="'Cleric'" />
|
||||||
|
|
@ -53,6 +55,7 @@
|
||||||
<xsl:variable name="Wizard" select="'Wizard'" />
|
<xsl:variable name="Wizard" select="'Wizard'" />
|
||||||
|
|
||||||
<xsl:variable name="classes">
|
<xsl:variable name="classes">
|
||||||
|
<class><xsl:value-of select="$Artificer" /></class>
|
||||||
<class><xsl:value-of select="$Barbarian" /></class>
|
<class><xsl:value-of select="$Barbarian" /></class>
|
||||||
<class><xsl:value-of select="$Bard" /></class>
|
<class><xsl:value-of select="$Bard" /></class>
|
||||||
<class><xsl:value-of select="$Cleric" /></class>
|
<class><xsl:value-of select="$Cleric" /></class>
|
||||||
|
|
@ -89,8 +92,8 @@
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<!-- Get the remaining classes -->
|
<!-- Get the remaining classes -->
|
||||||
<xsl:copy-of select="$compendium/class[name!=$Barbarian and name!=$Bard and name!=$Cleric and name!=$Druid and
|
<xsl:copy-of select="$compendium/class[name!=$Artificer and name!=$Barbarian and name!=$Bard and name!=$Cleric and
|
||||||
name!=$Fighter and name!=$Monk and name!=$Paladin and name!=$Ranger and
|
name!=$Druid and name!=$Fighter and name!=$Monk and name!=$Paladin and name!=$Ranger and
|
||||||
name!=$Rogue and name!=$Sorcerer and name!=$Warlock and name!=$Wizard]" />
|
name!=$Rogue and name!=$Sorcerer and name!=$Warlock and name!=$Wizard]" />
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
</xsl:transform>
|
</xsl:transform>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue