Permalink
Browse files

updating the old scripts & scheets

git-svn-id: https://slps.svn.sourceforge.net/svnroot/slps@766 ab42f6e0-554d-0410-b580-99e487e6eeb2
  • Loading branch information...
grammarware committed Feb 3, 2010
1 parent 15eab7f commit 4f24a4d272d27e6937cde6119cb67d754b5cada8
Showing with 19 additions and 22 deletions.
  1. +14 −22 shared/xsl/ldf2bgf.xslt
  2. +5 −0 topics/languedoc/xbgf/xldf/completeRefSection.xldf
View
@@ -1,22 +1,14 @@
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
xmlns:bgf="http://planet-sl.org/bgf"
xmlns:ldf="http://planet-sl.org/ldf">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="/ldf:document">
<bgf:grammar>
<xsl:apply-templates select="content"/>
</bgf:grammar>
</xsl:template>
<xsl:template match="grammar">
<xsl:copy-of select="node()"/>
</xsl:template>
<xsl:template match="text"/>
<xsl:template match="title"/>
<xsl:template match="sample"/>
<xsl:template match="runnable"/>
</xsl:stylesheet>
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:bgf="http://planet-sl.org/bgf" xmlns:ldf="http://planet-sl.org/ldf" version="1.0">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="/ldf:document">
<bgf:grammar>
<xsl:apply-templates select="//bgf:production"/>
</bgf:grammar>
</xsl:template>
<xsl:template match="bgf:production">
<xsl:if test="local-name(../..) != 'example'">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
@@ -1674,4 +1674,9 @@
<from>syntax</from>
<to>synopsis</to>
</xldf:changeRole>
<!-- the most recent addition to XBGF -->
<xldf:place>
<section>equate</section>
<inside>refactoring-transformation</inside>
</xldf:place>
</xldf:evolutionSequence>

0 comments on commit 4f24a4d

Please sign in to comment.