… | |
… | |
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
3 | |
3 | |
4 | <xsl:output method="text" media-type="text/plain" encoding="utf-8"/> |
4 | <xsl:output method="text" media-type="text/plain" encoding="utf-8"/> |
5 | |
5 | |
6 | <xsl:template match="/"><![CDATA[ |
6 | <xsl:template match="/"><![CDATA[ |
7 | # This is an automatically generated file. |
7 | # This is an automatically generated file. |
8 | # This is an automatically generated file. |
8 | # This is an automatically generated file. |
9 | # This is an automatically generated file. |
9 | # This is an automatically generated file. |
10 | # This is an automatically generated file. |
10 | # This is an automatically generated file. |
11 | # This is an automatically generated file. |
11 | # This is an automatically generated file. |
12 | |
12 | |
13 | # See doc/protocol.xml and doc/doc2constants_pm.xsl (and doc/Makefile) |
13 | # See doc/protocol.xml and doc/doc2constants_pm.xsl (and doc/Makefile) |
14 | |
14 | |
15 | package KGS::Constants; |
15 | package KGS::Constants; |
16 | |
16 | |
… | |
… | |
25 | <xsl:for-each select="descendant::member"> |
25 | <xsl:for-each select="descendant::member"> |
26 | <xsl:value-of select="concat($prefix, '_', @name)"/> |
26 | <xsl:value-of select="concat($prefix, '_', @name)"/> |
27 | <xsl:text> </xsl:text> |
27 | <xsl:text> </xsl:text> |
28 | </xsl:for-each> |
28 | </xsl:for-each> |
29 | </xsl:for-each> |
29 | </xsl:for-each> |
30 | <![CDATA[ |
|
|
31 | |
30 | |
|
|
31 | <![CDATA[ |
32 | %ruleset %timesys %gametype %special_score %room_group |
32 | %ruleset %timesys %gametype %special_score %room_group |
33 | |
33 | |
34 | INTERVAL_GAMEUPDATES |
34 | INTERVAL_GAMEUPDATES |
35 | ); |
35 | ); |
36 | } |
36 | } |
37 | |
37 | |
38 | ]]> |
38 | ]]> |