grim/purple-objects-docbook

Added a lot of description to the graphs page including and example class as well as an example enum.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:strip-space elements="*"/>
<!-- variables -->
<xsl:variable name="newline" select="'&#10;'"/>
<xsl:variable name="tab" select="'&#9;'"/>
<xsl:variable name="newline-tab">
<xsl:value-of select="$newline"/>
<xsl:value-of select="$tab"/>
</xsl:variable>
<!-- scope template -->
<xsl:template name="scope">
<xsl:choose>
<xsl:when test="@scope = 'private'">
<xsl:text>-</xsl:text>
</xsl:when>
<xsl:when test="@scope = 'public'">
<xsl:text>+</xsl:text>
</xsl:when>
<xsl:when test="@scope = 'protected'">
<xsl:text>#</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>