Permalink
Browse files

improved pretty-printing

git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@904 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information...
grammarware committed Dec 12, 2010
1 parent 814e764 commit c24c3bca7ce8eed224a4c1cb61390c199332889c
Showing with 17 additions and 3 deletions.
  1. +17 −3 shared/xsl/bgf2xhtml.xslt
View
@@ -152,9 +152,23 @@
</span> </xsl:template>
<xsl:template match="nonterminal">
<xsl:call-template name="linknt">
<xsl:with-param name="nt" select="."/>
</xsl:call-template>
<xsl:choose>
<xsl:when test=". = 'anyURI'">
<span xmlns="http://www.w3.org/1999/xhtml" class="meta">
<xsl:text>any-uri</xsl:text>
</span>
</xsl:when>
<xsl:when test=". = 'ID'">
<span xmlns="http://www.w3.org/1999/xhtml" class="meta">
<xsl:text>id</xsl:text>
</span>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="linknt">
<xsl:with-param name="nt" select="."/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="selectable">

0 comments on commit c24c3bc

Please sign in to comment.