]> git.saurik.com Git - bison.git/blobdiff - data/xslt/xml2dot.xsl
Merge remote-tracking branch 'origin/maint'
[bison.git] / data / xslt / xml2dot.xsl
index 219faa2f1e77cf738cac5031edd090d05d555640..49f454bb87bf5b5a0a9a4ae0e4ae721bc424b409 100644 (file)
     <xsl:with-param name="dst" select="@state"/>
     <xsl:with-param name="style">
       <xsl:choose>
-       <xsl:when test="@symbol = 'error'">
-         <xsl:text>dotted</xsl:text>
-       </xsl:when>
-       <xsl:when test="@type = 'shift'">
-         <xsl:text>solid</xsl:text>
-       </xsl:when>
-       <xsl:otherwise>
-         <xsl:text>dashed</xsl:text>
-       </xsl:otherwise>
+        <xsl:when test="@symbol = 'error'">
+          <xsl:text>dotted</xsl:text>
+        </xsl:when>
+        <xsl:when test="@type = 'shift'">
+          <xsl:text>solid</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>dashed</xsl:text>
+        </xsl:otherwise>
       </xsl:choose>
     </xsl:with-param>
     <xsl:with-param name="label">
       <xsl:if test="not(@symbol = 'error')">
-       <xsl:value-of select="@symbol"/>
+        <xsl:value-of select="@symbol"/>
       </xsl:if>
     </xsl:with-param>
   </xsl:call-template>