commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/common/utils/xml2sql mssql.xsl sybase.xsl ...


From: Jan Ischebeck
Subject: gnue/common/utils/xml2sql mssql.xsl sybase.xsl ...
Date: Sat, 13 Jul 2002 06:55:16 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jan Ischebeck <address@hidden>  02/07/13 06:55:16

Modified files:
        common/utils/xml2sql: mssql.xsl sybase.xsl mysql.xsl display.xsl 

Log message:
        change xsl templates to accept GSD ( GNUe Schema definition ) instead 
of old
        xml format

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/utils/xml2sql/mssql.xsl.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/utils/xml2sql/sybase.xsl.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/utils/xml2sql/mysql.xsl.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/utils/xml2sql/display.xsl.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue/common/utils/xml2sql/display.xsl
diff -c gnue/common/utils/xml2sql/display.xsl:1.1 
gnue/common/utils/xml2sql/display.xsl:1.2
*** gnue/common/utils/xml2sql/display.xsl:1.1   Tue Jun 25 18:09:57 2002
--- gnue/common/utils/xml2sql/display.xsl       Sat Jul 13 06:55:16 2002
***************
*** 1,6 ****
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
! <xsl:output method="html"/><xsl:template match="/">
  <html><head>
        <title>Schema Display</title>
        <style type="text/css">
--- 1,6 ----
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
! <xsl:output method="html"/><xsl:template match="/schema">
  <html><head>
        <title>Schema Display</title>
        <style type="text/css">
Index: gnue/common/utils/xml2sql/mssql.xsl
diff -c gnue/common/utils/xml2sql/mssql.xsl:1.1 
gnue/common/utils/xml2sql/mssql.xsl:1.2
*** gnue/common/utils/xml2sql/mssql.xsl:1.1     Tue Jun 25 18:09:57 2002
--- gnue/common/utils/xml2sql/mssql.xsl Sat Jul 13 06:55:16 2002
***************
*** 1,6 ****
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
!       <xsl:template match="/"><sql>
                <xsl:for-each select="tables/table">
                        <xsl:call-template name="doTable"/>
                        <xsl:call-template name="doPrimaryKey"><xsl:with-param 
name="table"><xsl:value-of select="@name"/></xsl:with-param></xsl:call-template>
--- 1,6 ----
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
!       <xsl:template match="/schema"><sql>
                <xsl:for-each select="tables/table">
                        <xsl:call-template name="doTable"/>
                        <xsl:call-template name="doPrimaryKey"><xsl:with-param 
name="table"><xsl:value-of select="@name"/></xsl:with-param></xsl:call-template>
Index: gnue/common/utils/xml2sql/mysql.xsl
diff -c gnue/common/utils/xml2sql/mysql.xsl:1.1 
gnue/common/utils/xml2sql/mysql.xsl:1.2
*** gnue/common/utils/xml2sql/mysql.xsl:1.1     Tue Jun 25 18:09:57 2002
--- gnue/common/utils/xml2sql/mysql.xsl Sat Jul 13 06:55:16 2002
***************
*** 1,6 ****
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
!       <xsl:template match="/"><sql>
                <xsl:for-each select="tables/table">
                        <xsl:call-template name="doTable"/>
                        <xsl:call-template name="doPrimaryKey"><xsl:with-param 
name="table"><xsl:value-of select="@name"/></xsl:with-param></xsl:call-template>
--- 1,6 ----
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
!       <xsl:template match="/schema"><sql>
                <xsl:for-each select="tables/table">
                        <xsl:call-template name="doTable"/>
                        <xsl:call-template name="doPrimaryKey"><xsl:with-param 
name="table"><xsl:value-of select="@name"/></xsl:with-param></xsl:call-template>
Index: gnue/common/utils/xml2sql/sybase.xsl
diff -c gnue/common/utils/xml2sql/sybase.xsl:1.1 
gnue/common/utils/xml2sql/sybase.xsl:1.2
*** gnue/common/utils/xml2sql/sybase.xsl:1.1    Tue Jun 25 18:09:57 2002
--- gnue/common/utils/xml2sql/sybase.xsl        Sat Jul 13 06:55:16 2002
***************
*** 1,6 ****
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
!       <xsl:template match="/"><sql>
                <xsl:for-each select="tables/table">
                        <xsl:call-template name="doTable"/>
                        <xsl:call-template name="doPrimaryKey"><xsl:with-param 
name="table"><xsl:value-of select="@name"/></xsl:with-param></xsl:call-template>
--- 1,6 ----
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
!       <xsl:template match="/schema"><sql>
                <xsl:for-each select="tables/table">
                        <xsl:call-template name="doTable"/>
                        <xsl:call-template name="doPrimaryKey"><xsl:with-param 
name="table"><xsl:value-of select="@name"/></xsl:with-param></xsl:call-template>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]