Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
raw (unfinished) EDD->DCG->RGF->BGF extractor
git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@717 ab42f6e0-554d-0410-b580-99e487e6eeb2
- Loading branch information
1 parent
18546c3
commit 3a51a1b
Showing
3 changed files
with
42 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<xsl:stylesheet version = '1.0' | ||
xmlns:xsl='http://www.w3.org/1999/XSL/Transform' | ||
xmlns:rgf="http://planet-sl.org/rgf"> | ||
|
||
<xsl:output method="xml" encoding="UTF-8"/> | ||
|
||
<xsl:template match="/rgf:grammar"> | ||
<xsl:for-each select="entry"> | ||
<xsl:choose> | ||
<xsl:when test="local-name() = 'name'"> | ||
</xsl:when> | ||
</xsl:choose> | ||
<xsl:if test="local-name() = 'terminator-symbol'"> | ||
<xsl:value-of select="position()"/> | ||
<xsl:text> | ||
</xsl:text> | ||
</xsl:if> | ||
</xsl:for-each> | ||
</xsl:template> | ||
|
||
|
||
|
||
</xsl:stylesheet> |