]> git.saurik.com Git - bison.git/blobdiff - data/xslt/xml2dot.xsl
Merge remote-tracking branch 'origin/maint'
[bison.git] / data / xslt / xml2dot.xsl
index 3d7939f6f087370d4c5a08420062ed3aeccc704d..93bec59989345afa569beff8257ef7f1bfbdd93b 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>