You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
874 B
30 lines
874 B
<?xml version="1.0" encoding="UTF-8" ?> |
|
<xsl:stylesheet version="1.0" |
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|
<xsl:import href="field.xsl" /> |
|
<xsl:template name="columnschema"> |
|
<xsl:param name="dbsystem"/> |
|
<xsl:for-each select="columns/column"> |
|
<xsl:call-template name="sx_field"> |
|
<xsl:with-param name="dbsystem" select="$dbsystem"/> |
|
</xsl:call-template> |
|
</xsl:for-each> |
|
</xsl:template> |
|
<xsl:template name="column_names"> |
|
<xsl:for-each select="columns/column"> |
|
<xsl:value-of select="@name" /> |
|
<xsl:if test="position() < last()"> |
|
<xsl:text>, |
|
</xsl:text> |
|
</xsl:if> |
|
</xsl:for-each> |
|
</xsl:template> |
|
<xsl:template name="column_names_row"> |
|
<xsl:for-each select="columns/column"> |
|
<xsl:value-of select="@name" /> |
|
<xsl:if test="position() < last()"> |
|
<xsl:text>, </xsl:text> |
|
</xsl:if> |
|
</xsl:for-each> |
|
</xsl:template> |
|
</xsl:stylesheet>
|
|
|