--- a/sheets/enum.xsl Mon May 06 21:55:56 2013 -0500
+++ b/sheets/enum.xsl Tue May 07 00:09:08 2013 -0500
@@ -6,7 +6,7 @@
<xsl:import href="common.xsl"/>
- <xsl:template match="enumeration">
+ <xsl:template match="enumeration|flags"> <!-- start the diagram -->
<xsl:text>digraph {</xsl:text>
<xsl:value-of select="$newline-tab"/>
@@ -18,7 +18,9 @@
<!-- handle the beginning of the enum node -->
<xsl:text>enum[label="{</xsl:text>
<xsl:value-of select="@name"/>
- <xsl:text>\n\<\< enumeration \>\></xsl:text>
+ <xsl:text>\n\<\< </xsl:text> + <xsl:value-of select="name(.)"/> + <xsl:text> \>\></xsl:text> <!-- run through all the items -->
<xsl:for-each select="item">