grim/purple-objects-docbook

Parents 2b9a5fd42173
Children 10becd6a293a
updated class.xsl to output anything thats in the type attribute on the class element
--- a/sheets/class.xsl Fri Apr 17 23:03:55 2009 -0500
+++ b/sheets/class.xsl Fri Apr 17 23:22:25 2009 -0500
@@ -45,9 +45,11 @@
<xsl:text>class[label="{</xsl:text>
<xsl:value-of select="@name"/>
- <!-- if the class is abstract, mark it as such -->
- <xsl:if test="@abstract">
- <xsl:text>\n\&lt;\&lt; abstract \&gt;\&gt;</xsl:text>
+ <!-- check the class type and output it if it's there -->
+ <xsl:if test="@type">
+ <xsl:text>\n\&lt;\&lt; </xsl:text>
+ <xsl:value-of select="@type"/>
+ <xsl:text> \&gt;\&gt;</xsl:text>
</xsl:if>
<xsl:text>|</xsl:text>