Browse Source

- we now use only one step of XSL transformation

svn path=/trunk/; revision=25134
tags/stw2018
nicoulas 6 years ago
parent
commit
066f6a4952
100 changed files with 1118 additions and 1659 deletions
  1. 3
    12
      about/legal/de/de.xsl
  2. 3
    12
      about/members.xsl
  3. 0
    4
      about/printable/get_h1.xsl
  4. 0
    4
      about/printable/get_moreinfo.xsl
  5. 5
    14
      about/printable/printable.xsl
  6. 2
    11
      about/team.xsl
  7. 3
    13
      activities/ftf/avm-gpl-violation.xsl
  8. 3
    12
      activities/map/de/de.xsl
  9. 4
    15
      activities/os/os.xsl
  10. 3
    12
      activities/wipo/wipo.xsl
  11. 9
    12
      activities/wipo/wiwo.de.xhtml
  12. 9
    11
      activities/wipo/wiwo.el.xhtml
  13. 9
    12
      activities/wipo/wiwo.en.xhtml
  14. 10
    12
      activities/wipo/wiwo.es.xhtml
  15. 10
    12
      activities/wipo/wiwo.fr.xhtml
  16. 5
    7
      activities/wipo/wiwo.hu.xhtml
  17. 9
    11
      activities/wipo/wiwo.it.xhtml
  18. 9
    14
      activities/wipo/wiwo.nl.xhtml
  19. 9
    10
      activities/wipo/wiwo.pt.xhtml
  20. 4
    7
      activities/wipo/wiwo.ru.xhtml
  21. 15
    31
      activities/wipo/wiwo.xsl
  22. 2
    0
      associates/associates.ca.xhtml
  23. 3
    0
      associates/associates.da.xhtml
  24. 2
    0
      associates/associates.de.xhtml
  25. 2
    0
      associates/associates.el.xhtml
  26. 3
    0
      associates/associates.en.xhtml
  27. 2
    0
      associates/associates.es.xhtml
  28. 2
    0
      associates/associates.fi.xhtml
  29. 2
    0
      associates/associates.fr.xhtml
  30. 2
    0
      associates/associates.hu.xhtml
  31. 2
    0
      associates/associates.it.xhtml
  32. 2
    0
      associates/associates.nb.xhtml
  33. 2
    0
      associates/associates.nl.xhtml
  34. 2
    0
      associates/associates.pt.xhtml
  35. 2
    0
      associates/associates.ro.xhtml
  36. 2
    0
      associates/associates.ru.xhtml
  37. 3
    0
      associates/associates.sq.xhtml
  38. 2
    0
      associates/associates.sv.xhtml
  39. 2
    0
      associates/associates.tr.xhtml
  40. 14
    22
      associates/associates.xsl
  41. 3
    12
      at/at.xsl
  42. 4
    15
      campaigns/askyourcandidates/askyourcandidates.xsl
  43. 3
    12
      campaigns/finished.xsl
  44. 4
    15
      campaigns/ilovefs/2012/ilovefs.xsl
  45. 4
    15
      campaigns/ilovefs/2012/unperfekthaus.xsl
  46. 3
    12
      campaigns/inactive.xsl
  47. 4
    15
      campaigns/nledu/nledu.xsl
  48. 29
    38
      campaigns/pdfreaders/buglist.xsl
  49. 16
    25
      campaigns/pdfreaders/pdfreaders.xsl
  50. 16
    34
      campaigns/pdfreaders/petition.xsl
  51. 3
    12
      campaigns/projects.xsl
  52. 3
    12
      campaigns/swpat/documents.xsl
  53. 7
    8
      campaigns/swpat/memorandum.de.xhtml
  54. 8
    9
      campaigns/swpat/memorandum.el.xhtml
  55. 7
    8
      campaigns/swpat/memorandum.en.xhtml
  56. 6
    7
      campaigns/swpat/memorandum.it.xhtml
  57. 11
    28
      campaigns/swpat/memorandum.xsl
  58. 2
    11
      campaigns/valentine/2011/valentine-2011.xsl
  59. 1
    1
      contact/local.en.xml
  60. 36
    45
      contact/local.xsl
  61. 3
    12
      de/de.xsl
  62. 11
    0
      default.xsl
  63. 3
    12
      documents/documents.xsl
  64. 3
    14
      documents/whyfs.xsl
  65. 4
    13
      donate/thankgnus-2001.xsl
  66. 4
    13
      donate/thankgnus-2002.xsl
  67. 4
    13
      donate/thankgnus-2003.xsl
  68. 4
    13
      donate/thankgnus-2004.xsl
  69. 4
    13
      donate/thankgnus-2005.xsl
  70. 4
    13
      donate/thankgnus-2006.xsl
  71. 4
    13
      donate/thankgnus-2007.xsl
  72. 4
    13
      donate/thankgnus-2008.xsl
  73. 4
    13
      donate/thankgnus-2009.xsl
  74. 4
    13
      donate/thankgnus-2010.xsl
  75. 4
    13
      donate/thankgnus-2011.xsl
  76. 4
    13
      donate/thankgnus-2012.xsl
  77. 5
    14
      donate/thankgnus.xsl
  78. 3
    3
      events/events.ics.xsl
  79. 2
    2
      events/events.rss.xsl
  80. 19
    30
      events/events.xsl
  81. 129
    127
      fellowship/default.xsl
  82. 3
    28
      fellowship/index.xsl
  83. 3
    12
      fi/fi.xsl
  84. 4
    5
      fr/fr.fr.xhtml
  85. 3
    12
      fr/fr.xsl
  86. 231
    211
      fsfe.xsl
  87. 3
    3
      index.en.xhtml
  88. 4
    28
      index.xsl
  89. 3
    12
      it/it.xsl
  90. 2
    18
      news/legal-news.xsl
  91. 2
    12
      news/news.rss.xsl
  92. 7
    19
      news/news.xsl
  93. 22
    37
      news/newsletter.xsl
  94. 5
    14
      order/order.xsl
  95. 4
    13
      press/press.xsl
  96. 2
    12
      tags/tagged.xsl
  97. 2
    12
      tags/tags.xsl
  98. 239
    237
      tools/build.pl
  99. 6
    0
      tools/texts-ar.xml
  100. 0
    0
      tools/texts-bg.xml

+ 3
- 12
about/legal/de/de.xsl View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/html/set/person[@chapter_de='yes']">
<xsl:for-each select="/buildinfo/document/set/person[@chapter_de='yes']">
<xsl:sort select="@id"/>
<xsl:element name="li">
<xsl:value-of select="name"/>
@@ -15,14 +16,4 @@
</xsl:element>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 3
- 12
about/members.xsl View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/html/set/person[@association-member='yes']">
<xsl:for-each select="/buildinfo/document/set/person[@association-member='yes']">
<xsl:sort select="@id"/>
<xsl:element name="li">
<xsl:element name="p">
@@ -43,14 +44,4 @@
</xsl:element>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 0
- 4
about/printable/get_h1.xsl View File

@@ -9,8 +9,4 @@
<xsl:if test="../@id='fsfe'"> - </xsl:if>
<xsl:if test="../@id='free_software'"> - </xsl:if>
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:apply-templates select="@*|node()"/>
</xsl:template>
</xsl:stylesheet>

+ 0
- 4
about/printable/get_moreinfo.xsl View File

@@ -6,8 +6,4 @@
<xsl:template match="a[@id='moreinfo']">
<xsl:value-of select="@href"/>
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:apply-templates select="@*|node()"/>
</xsl:template>
</xsl:stylesheet>

+ 5
- 14
about/printable/printable.xsl View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
@@ -12,7 +13,7 @@
<xsl:variable name="text-pdf-0"><xsl:value-of select="text[@id='pdf-0']"/></xsl:variable>
<xsl:variable name="text-moreinfo"><xsl:value-of select="text[@id='moreinfo']"/></xsl:variable>

<xsl:for-each select="/html/set/printable[@type=$type]">
<xsl:for-each select="/buildinfo/document/set/printable[@type=$type]">
<xsl:sort select="@id"/>
<xsl:variable name="id"><xsl:value-of select="@id"/></xsl:variable>

@@ -20,8 +21,8 @@
<xsl:element name="h3">
<xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
<xsl:choose>
<xsl:when test="translation[@lang=/html/@lang]!=''">
<xsl:value-of select="translation[@lang=/html/@lang]"/>
<xsl:when test="translation[@lang=/buildinfo/@language]!=''">
<xsl:value-of select="translation[@lang=/buildinfo/@language]"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="translation[@lang='en']"/>
@@ -127,15 +128,5 @@
</xsl:element>
</xsl:for-each>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set" />

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 2
- 11
about/team.xsl View File

@@ -3,7 +3,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../tools/xsltsl/countries.xsl" />
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<!--
For documentation on tagging (e.g. display a people list), take a
@@ -17,15 +18,5 @@
<xsl:with-param name="team" select="'main'" />
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 3
- 13
activities/ftf/avm-gpl-violation.xsl View File

@@ -4,10 +4,11 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- In /html/body node, append dynamic content -->
<xsl:template match="/html/body/tagged-docs">
<xsl:template match="tagged-docs">
<xsl:call-template name="fetch-news">
<xsl:with-param name="tag" select="'avmgplviolation'" />
@@ -17,15 +18,4 @@
</xsl:call-template>
</xsl:template>

<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 3
- 12
activities/map/de/de.xsl View File

@@ -1,26 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:variable name="type"><xsl:value-of select="@type"/></xsl:variable>
<xsl:for-each select="/html/set/item[@type=$type]">
<xsl:for-each select="/buildinfo/document/set/item[@type=$type]">
<xsl:element name="li">
<xsl:apply-templates select="node()"/>
</xsl:element>
</xsl:for-each>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 4
- 15
activities/os/os.xsl View File

@@ -4,7 +4,8 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="fetch-news">
@@ -14,28 +15,16 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/html/set/news/link">
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/html/text[@id='more']" />
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 3
- 12
activities/wipo/wipo.xsl View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/html/set/document">
<xsl:for-each select="/buildinfo/document/set/document">
<xsl:sort select="@date" order="descending" />
<xsl:element name="li">
<xsl:element name="p">
@@ -38,14 +39,4 @@
</xsl:element>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set" />

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 9
- 12
activities/wipo/wiwo.de.xhtml View File

@@ -76,19 +76,16 @@

<h3>Unterzeichner</h3>

<signatories/>

<p>
Wenn sie ihren Namen oder den ihrer Organisation auch in dieser Liste
sehen wollen, kontaktieren Sie bitte
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<text id="osig">Organisationen</text>
<text id="isig">Personen</text>

<text>
<footer>
<p>
Wenn sie ihren Namen oder den ihrer Organisation auch in dieser Liste
sehen wollen, kontaktieren Sie bitte
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>


<timestamp>$Date$ $Author$</timestamp>
</html>

+ 9
- 11
activities/wipo/wiwo.el.xhtml View File

@@ -62,18 +62,16 @@ WIPO, αλλά τι είδους οργανισμό χρειαζόμαστε γ


<h2>Συμβαλλόμενα μέρη</h2>

<signatories/>

<p>
Αν επιθυμείτε να δείτε το όνομά σας ή το όνομα του οργανισμού σας να προστίθεται
σε αυτόν τον κατάλογο, παρακαλούμε επικοινωνήστε στο
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<text id="osig">Οργανισμοί</text>
<text id="isig">Άτομα</text>
<text>
<footer>
<p>
Αν επιθυμείτε να δείτε το όνομά σας ή το όνομα του οργανισμού σας να προστίθεται
σε αυτόν τον κατάλογο, παρακαλούμε επικοινωνήστε στο
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>

<timestamp>$Date$ $Author$</timestamp>
</html>

+ 9
- 12
activities/wipo/wiwo.en.xhtml View File

@@ -75,19 +75,16 @@


<h2>Signatories</h2>

</body>
<text id="osig">Organisations</text>
<text id="isig">Individuals</text>
<text>
<footer>
<p>
If you wish to see your name or the name of your organisation
added to this list, please contact <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
<signatories/>
<p>
If you wish to see your name or the name of your organisation
added to this list, please contact <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
</body>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 10
- 12
activities/wipo/wiwo.es.xhtml View File

@@ -58,19 +58,17 @@ establecimiento de una agenda de desarrollo para la OMPI:
<a href="http://www.wipo.int/documents/es/document/govbody/wo_gb_ga/pdf/wo_ga_31_11.pdf">http://www.wipo.int/documents/es/document/govbody/wo_gb_ga/pdf/wo_ga_31_11.pdf</a></li>
</ol>

<h2>Firmantes</h2>
<h2>Firmantes</h2>
<signatories/>
<p>
Si desea que su nombre o el de su organización aparezca en
esta lista, por favor contacte con
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Organizaciones</text>
<text id="isig">Individuos</text>
<text>
<footer>
<p>
Si desea que su nombre o el de su organización aparezca en
esta lista, por favor contacte con
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>

<timestamp>$Date$ $Author$</timestamp>
</html>

+ 10
- 12
activities/wipo/wiwo.fr.xhtml View File

@@ -60,18 +60,16 @@ avoir, mais plut
</li>
</ol>

<h2>Signataires</h2>
</body>
<text id="osig">Organisations</text>
<text id="isig">Individus</text>
<text>
<footer>
<p>
Si vous désirez ajouter votre nom ou celui de votre organisation à la liste des signataires, veuillez contacter <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<h2>Signataires</h2>
<signatories/>
<p>
Si vous désirez ajouter votre nom ou celui de votre organisation à la liste des signataires, veuillez contacter <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>

<timestamp>$Date$ $Author$</timestamp>
</html>

+ 5
- 7
activities/wipo/wiwo.hu.xhtml View File

@@ -30,14 +30,12 @@ href="http://www.cptech.org/ip/wipo/genevadeclaration.html">Genfi Deklaráció</


<h2>Aláírók</h2>

<signatories/>

<p>Ha Ön is szerepeltetni szeretné saját vagy szervezete nevét e listán, kérjük jelezze a <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a> e-mail címen.</p>

</body>
<text id="osig">Szervezetek</text>
<text id="isig">Egyének</text>
<text>
<footer>
<p>Ha Ön is szerepeltetni szeretné saját vagy szervezete nevét e listán, kérjük jelezze a <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a> e-mail címen.</p>
</footer>
</text>

<timestamp>$Date$ $Author$</timestamp>
<translator>FSF.hu Alapítvány</translator>

+ 9
- 11
activities/wipo/wiwo.it.xhtml View File

@@ -60,18 +60,16 @@ piuttosto al tipo di organizzazione di cui abbiamo bisogno al suo posto.</p>


<h2>Firmatari</h2>

<signatories/>

<p>
Per aggiungere il proprio nome, o quello della propria organizzazione,
a questa lista, si prega di contattare
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<text id="osig">Organizzazioni</text>
<text id="isig">Individui</text>
<text>
<footer>
<p>
Per aggiungere il proprio nome, o quello della propria organizzazione,
a questa lista, si prega di contattare
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>

<timestamp>$Date$ $Author$</timestamp>
</html>

+ 9
- 14
activities/wipo/wiwo.nl.xhtml View File

@@ -77,22 +77,17 @@
</ol>

<h2>Ondertekenaars</h2>

<signatories/>
<p>
Als je uw naam of de naam van uw organisatie aan de lijst
wil toevoegen meld dit dan via <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>


<text id="osig">Organisaties</text>
<text id="isig">Personen</text>
<text>
<footer>
<p>
Als je uw naam of de naam van uw organisatie aan de lijst
wil toevoegen meld dit dan via <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>

<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 9
- 10
activities/wipo/wiwo.pt.xhtml View File

@@ -57,17 +57,16 @@ nova organização, mas não o único e talvez nem mesmo o mais importante.</p>
</ol>

<h2>Assinantes</h2>

<signatories/>

<p>
Se deseja que o seu nome ou o nome da sua organização apareça
nesta lista, por favor entre em contacto com <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<text id="osig">Organizações</text>
<text id="isig">Indivíduos</text>
<text>
<footer>
<p>
Se deseja que o seu nome ou o nome da sua organização apareça
nesta lista, por favor entre em contacto com <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 4
- 7
activities/wipo/wiwo.ru.xhtml View File

@@ -62,16 +62,13 @@ http://www.wipo.int/edocs/mdocs/govbody/en/wo_ga_31/wo_ga_31_11.pdf</a></li>

<h2>Присоединившиеся стороны</h2>

</body>
<text id="osig">Организации</text>
<text id="isig">Частные лица</text>
<text>
<footer>
<signatories/>

<p>Если вы хотите внести свое имя или название организации в этот
список, напишите по адресу <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.</p>
</footer>
</text>
</body>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--

+ 15
- 31
activities/wipo/wiwo.xsl View File

@@ -3,39 +3,23 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml"
encoding="ISO-8859-1"
indent="yes"
/>
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<xsl:template match="/">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>

<xsl:template match="/html/body">
<body>
<xsl:apply-templates />
<h3><xsl:value-of select="/html/text[@id='osig']" /></h3>
<ul>
<xsl:apply-templates select="/html/set/osig/node()" />
</ul>

<h3><xsl:value-of select="/html/text[@id='isig']" /></h3>
<ul>
<xsl:apply-templates select="/html/set/isig/node()" />
</ul>
<xsl:apply-templates select="/html/text/footer/node()" />
</body>
</xsl:template>
<xsl:template match="signatories">
<h3 id="organisations">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'osig'" /></xsl:call-template>
</h3>
<ul>
<xsl:apply-templates select="/buildinfo/document/set/osig/node()" />
</ul>

<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
<h3 id="individuals">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'isig'" /></xsl:call-template>
</h3>
<ul>
<xsl:apply-templates select="/buildinfo/document/set/isig/node()" />
</ul>
</xsl:template>

<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
</xsl:stylesheet>

+ 2
- 0
associates/associates.ca.xhtml View File

@@ -21,6 +21,8 @@ junts en campanyes i events com fires.</p>
<p>Si voleu saber més sobre l'estatus d'associat, trobareu
aquesta informació <a href="/associates/about.html">aquí</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 3
- 0
associates/associates.da.xhtml View File

@@ -29,6 +29,9 @@
læse om <a href="/associates/about.html">hvad det betyder, at være
tilknyttet FSFE og hvordan man bliver det</a>.
</p>
<associates/>
</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.de.xhtml View File

@@ -29,6 +29,8 @@
Organisation suchen, so lesen Sie was es bedeutet, <a href="/associates/about.html">assoziierte
Organisation zu sein und wie Ihre Organisation es werden kann</a>.
</p>
<associates/>

</body>


+ 2
- 0
associates/associates.el.xhtml View File

@@ -21,6 +21,8 @@
<p>Αν ενδιαφέρεστε για την ιδιότητα του συνεργαζόμενου, παρακαλούμε διαβάστε
<a href="/associates/about.html">τι σημαίνει συνεργαζόμενος με το FSFE και πώς θα γίνετε</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 3
- 0
associates/associates.en.xhtml View File

@@ -26,6 +26,9 @@
<p>
If you are interested in the associate status, please consider to read <a href="/associates/about.html">what it means to be an associate of FSFE and how to become one</a>.
</p>
<associates/>
</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.es.xhtml View File

@@ -21,6 +21,8 @@ en todos los aspectos (tales como afiliación, estatutos, finanzas, etc.)</p>

<p>Si desea saber más sobre el estatus de asociado, lea nuestra <a href="/associates/about.html">explicación del significado del estatus de asociado y como puede volverselo</a>.</p>

<associates/>
</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.fi.xhtml View File

@@ -21,6 +21,8 @@ messuilla.</p>
<p>Lisätietoja kumppanuudesta FSFE:n kanssa löydät
<a href="/associates/about.html">täältä</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.fr.xhtml View File

@@ -22,6 +22,8 @@ salons.</p>

<p>Si vous êtes intéressé par le statut de partenaire, nous vous recommandons de considérer<a href="/associates/about.html">ce que cela signifie d'être partenaire de la FSFE et comment en devenir un</a>. </p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.hu.xhtml View File

@@ -17,6 +17,8 @@

<p>Amennyiben többet szeretne tudni a társult szervezeti státusról, további információt találhat <a href="/associates/about.html">itt</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.it.xhtml View File

@@ -23,6 +23,8 @@ esempio fiere e manifestazioni).</p>
leggere <a href="/associates/about.html">cosa significa essere associati a FSFE
e come diventarlo</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.nb.xhtml View File

@@ -21,6 +21,8 @@ også om kampanjer og begivenheter, som for eksempel messer.</p>
<p>Ønsker du å vite mer, kan du lese mer om <a
href="/associates/about.html">tilknyttingsstatusen</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.nl.xhtml View File

@@ -22,6 +22,8 @@ samenwerken voor campagnes en evenementen zoals handelsbeurzen.</p>
<p>Als u meer wilt weten over de status als partnerorganisatie, kunt u dat
<a href="/associates/about.html">hier</a> vinden.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.pt.xhtml View File

@@ -26,6 +26,8 @@
<p>
Se quiser saber mais sobre o estatuto de associado, você pode ler nossa <a href="/associates/about.html">exploração do significado do estatuto de aasociado e o guia para tornar-se associado da FSFE</a>.
</p>
<associates/>
</body>

<timestamp>$Date: 2010-01-23 16:58:15 +0000 (Sat, 23 Jan 2010) $ $Author: ato $</timestamp>

+ 2
- 0
associates/associates.ro.xhtml View File

@@ -29,6 +29,8 @@ implica în activitãţile FSFE.</p>
Dacã doriţi mai multe informaţii despre statutul asociaţilor, puteţi
afla mai multe informaţii <a href="/associates/about.html">aici</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.ru.xhtml View File

@@ -24,6 +24,8 @@
прочтите, пожалуйста, о том, <a href="/associates/about.html">что значит
быть союзной организацией ЕФСПО и как стать такой организацией</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 3
- 0
associates/associates.sq.xhtml View File

@@ -26,6 +26,9 @@
<p>
Nëse jeni të interesuar rreth statusit të anëtarit shok, ju lutemi, mund të lexoni <a href="/associates/about.html">se ç'do të thotë të jesh anëtar shok i FSFE-së dhe se si të bëheni një i tillë</a>.
</p>
<associates/>
</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.sv.xhtml View File

@@ -26,6 +26,8 @@ FSFE aktiviteter att g
<p>Om du vill veta mer om de associerades status så hittar du den
informationen <a href="/associates/about.html">här</a>.</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 2
- 0
associates/associates.tr.xhtml View File

@@ -27,6 +27,8 @@ Ortaklık statüsüyle ilgili daha fazla bilgi edinmek isterseniz,
<a href="/associates/about.html">burada</a> aradığınızı bulabilirsiniz.
</p>

<associates/>

</body>

<timestamp>$Date$ $Author$</timestamp>

+ 14
- 22
associates/associates.xsl View File

@@ -3,29 +3,21 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml"
encoding="ISO-8859-1"
indent="yes"
/>
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<xsl:template match="/">
<html>
<xsl:apply-templates select="html/head" />
<body>
<xsl:apply-templates select="html/body/node()" />
<xsl:for-each select="/html/set/associate">
<xsl:sort select="@id" />
<h3><a href="{link}"><xsl:value-of select="name" /></a></h3>
<xsl:apply-templates select="description/node()" />
</xsl:for-each>
</body>
</html>
</xsl:template>

<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
<xsl:template match="associates">
<xsl:for-each select="/buildinfo/document/set/associate">
<xsl:sort select="@id" />
<h3>
<xsl:call-template name="generate-id-attribute">
<xsl:with-param name="title" select="name" />
</xsl:call-template>
<a href="{link}"><xsl:value-of select="name" /></a>
</h3>
<xsl:apply-templates select="description/node()" />
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>


+ 3
- 12
at/at.xsl View File

@@ -7,7 +7,8 @@
<xsl:import href="../tools/xsltsl/tagging.xsl" />
<xsl:import href="../tools/xsltsl/countries.xsl" />
<xsl:import href="../tools/xsltsl/translations.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- To localise this page to a new country, copy this file and change the following:
@@ -60,7 +61,7 @@
<!--define contact information-->
<xsl:template match="contact-details">
<xsl:for-each select="/html/set/contact">
<xsl:for-each select="/buildinfo/document/set/contact">

<xsl:if test="@id = 'DE'">
@@ -145,15 +146,5 @@
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 4
- 15
campaigns/askyourcandidates/askyourcandidates.xsl View File

@@ -4,7 +4,8 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="fetch-news">
@@ -14,28 +15,16 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/html/set/news/link">
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/html/text[@id='more']" />
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 3
- 12
campaigns/finished.xsl View File

@@ -1,11 +1,12 @@
<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/html/set/project [@status = 'finished']">
<xsl:for-each select="/buildinfo/document/set/project [@status = 'finished']">
<xsl:sort select="@date" order="descending"/>

<!-- Title -->
@@ -26,14 +27,4 @@
</xsl:for-each>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 4
- 15
campaigns/ilovefs/2012/ilovefs.xsl View File

@@ -4,7 +4,8 @@
<xsl:import href="../../../tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="fetch-news">
@@ -14,28 +15,16 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/html/set/news/link">
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/html/text[@id='more']" />
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 4
- 15
campaigns/ilovefs/2012/unperfekthaus.xsl View File

@@ -4,7 +4,8 @@
<xsl:import href="../../../tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="fetch-news">
@@ -14,28 +15,16 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/html/set/news/link">
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/html/text[@id='more']" />
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 3
- 12
campaigns/inactive.xsl View File

@@ -1,11 +1,12 @@
<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/html/set/project [@status = 'inactive']">
<xsl:for-each select="/buildinfo/document/set/project [@status = 'inactive']">
<xsl:sort select="@date" order="descending"/>

<!-- Title -->
@@ -26,14 +27,4 @@
</xsl:for-each>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 4
- 15
campaigns/nledu/nledu.xsl View File

@@ -4,7 +4,8 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="fetch-news">
@@ -14,28 +15,16 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/html/set/news/link">
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/html/text[@id='more']" />
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 29
- 38
campaigns/pdfreaders/buglist.xsl View File

@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic index -->
<xsl:template match="dynamic-index">
<xsl:for-each select="/html/set/buglist">
<xsl:for-each select="/buildinfo/document/set/buglist">
<xsl:sort select="@country"/>

<xsl:variable name="country">
@@ -18,7 +19,7 @@
<xsl:text>#</xsl:text>
<xsl:value-of select="$country"/>
</xsl:attribute>
<xsl:value-of select="/html/set/country[@id=$country]"/>
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]"/>
</xsl:element>
</xsl:element>

@@ -29,11 +30,11 @@
<!-- fill in global figures -->
<xsl:variable name="solved">
<xsl:value-of select="count( /html/set/buglist/bug[@closed != ''] )" />
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug[@closed != ''] )" />
</xsl:variable>
<xsl:variable name="total">
<xsl:value-of select="count( /html/set/buglist/bug )" />
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug )" />
</xsl:variable>
<xsl:template match="solved">
@@ -49,18 +50,18 @@
</xsl:template>
<!-- <xsl:key name="indivs-by-name" match="/html/set/buglist/bug/@name" use="normalize-space(.)" />
<xsl:key name="groups-by-name" match="/html/set/buglist/bug/@group" use="normalize-space(.)" /> -->
<!-- <xsl:key name="indivs-by-name" match="/buildinfo/document/set/buglist/bug/@name" use="normalize-space(.)" />
<xsl:key name="groups-by-name" match="/buildinfo/document/set/buglist/bug/@group" use="normalize-space(.)" /> -->
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<!-- <xsl:value-of select="count( /html/set/buglist/bug[@closed != ''] ) " /><br/>
<xsl:value-of select="count( /html/set/buglist/bug ) " /><br/>
<xsl:value-of select="floor( count(/html/set/buglist/bug[@closed != '']) div count( /html/set/buglist/bug ) * 100)" /><br/>
<!-- <xsl:value-of select="count( /buildinfo/document/set/buglist/bug[@closed != ''] ) " /><br/>
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug ) " /><br/>
<xsl:value-of select="floor( count(/buildinfo/document/set/buglist/bug[@closed != '']) div count( /buildinfo/document/set/buglist/bug ) * 100)" /><br/>
-->
<xsl:for-each select="/html/set/buglist">
<xsl:for-each select="/buildinfo/document/set/buglist">
<xsl:sort select="@country"/>
<xsl:variable name="country">
@@ -72,24 +73,24 @@
<xsl:attribute name="id">
<xsl:value-of select="$country"/>
</xsl:attribute>
<xsl:value-of select="/html/set/country[@id=$country]"/>
<xsl:variable name="nbsolved" select="count( /html/set/buglist[@country=$country]/bug[@closed != ''] )" />
<xsl:variable name="nbinst" select="count( /html/set/buglist[@country=$country]/bug )" />
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]"/>
<xsl:variable name="nbsolved" select="count( /buildinfo/document/set/buglist[@country=$country]/bug[@closed != ''] )" />
<xsl:variable name="nbinst" select="count( /buildinfo/document/set/buglist[@country=$country]/bug )" />
(<xsl:value-of select="$nbsolved" />/<xsl:value-of select="$nbinst" /> = <xsl:value-of select="floor($nbsolved div $nbinst * 100)" />%)
</xsl:element>
<!-- Table header -->
<xsl:element name="table">
<xsl:element name="tr">
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-name']"/></xsl:element>
<!--<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-address']"/></xsl:element>-->
<!--<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-url']"/></xsl:element>-->
<xsl:element name="th"><xsl:value-of select="/html/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='closedby']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='comment']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-name']"/></xsl:element>
<!--<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-address']"/></xsl:element>-->
<!--<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-url']"/></xsl:element>-->
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='closedby']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='comment']"/></xsl:element>
</xsl:element>
<!-- Table rows -->
@@ -103,7 +104,7 @@
<xsl:attribute name="href">
<xsl:value-of select="@institution-url"/>
</xsl:attribute>
<xsl:value-of select="@institution-name"/><!--<xsl:value-of select="/html/text[@id='link']"/>-->
<xsl:value-of select="@institution-name"/><!--<xsl:value-of select="/buildinfo/document/text[@id='link']"/>-->
</xsl:element>
</xsl:element>
<xsl:comment><xsl:element name="td"><xsl:value-of select="translate(@institution-address, '-', '–' )"/></xsl:element></xsl:comment>
@@ -121,19 +122,19 @@
<!-- List of participants -->
<!--
<xsl:value-of select="count(/html/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ])" />
<xsl:value-of select="count(/buildinfo/document/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ])" />
<xsl:element name="ul">
<xsl:for-each select=" /html/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ] ">
<xsl:sort select="count( /html/set/buglist/bug/@name = . )" data-type="number" />
<xsl:for-each select=" /buildinfo/document/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ] ">
<xsl:sort select="count( /buildinfo/document/set/buglist/bug/@name = . )" data-type="number" />
<xsl:variable name="name" select="." />
<xsl:if test="position() &lt;= 5">
<xsl:element name="li">
<xsl:value-of select="count( /html/set/buglist/bug[@group=$name] )" />
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug[@group=$name] )" />
<xsl:text>-</xsl:text>
<xsl:value-of select="$name" />
</xsl:element>
@@ -147,14 +148,4 @@
</xsl:template>

<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 16
- 25
campaigns/pdfreaders/pdfreaders.xsl View File

@@ -1,23 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="number-of-businesses">
<xsl:value-of select="count(/html/set/bsig/li)" />
<xsl:value-of select="count(/buildinfo/document/set/bsig/li)" />
</xsl:template>
<xsl:template match="number-of-orgs">
<xsl:value-of select="count(/html/set/osig/li)" />
<xsl:value-of select="count(/buildinfo/document/set/osig/li)" />
</xsl:template>
<xsl:template match="number-of-individuals">
<xsl:value-of select="count(/html/set/isig/li)" />
<xsl:value-of select="count(/buildinfo/document/set/isig/li)" />
</xsl:template>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/html/set/buglist">
<xsl:for-each select="/buildinfo/document/set/buglist">
<xsl:sort select="@country"/>

<xsl:variable name="country">
@@ -26,20 +27,20 @@

<!-- Heading -->
<xsl:element name="h3">
<xsl:value-of select="/html/set/country[@id=$country]"/>
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]"/>
</xsl:element>

<!-- Table header -->
<xsl:element name="table">
<xsl:element name="tr">
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-address']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-url']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='comment']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-address']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-url']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='comment']"/></xsl:element>
</xsl:element>

<!-- Table rows -->
@@ -52,7 +53,7 @@
<xsl:attribute name="href">
<xsl:value-of select="@institution-url"/>
</xsl:attribute>
<xsl:value-of select="/html/text[@id='link']"/>
<xsl:value-of select="/buildinfo/document/text[@id='link']"/>
</xsl:element>
</xsl:element>
<xsl:element name="td"><xsl:value-of select="@opened"/></xsl:element>
@@ -67,14 +68,4 @@
</xsl:for-each>
</xsl:template>

<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 16
- 34
campaigns/pdfreaders/petition.xsl View File

@@ -5,64 +5,46 @@
<xsl:import href="../../tools/xsltsl/countries.xsl" />
<xsl:output method="xml"
encoding="UTF-8"
indent="yes"
/>
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<xsl:template match="/">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>

<xsl:template match="/html/body">
<body>
<xsl:template match="body">
<xsl:apply-templates />
<h3>
<xsl:value-of select="/html/text[@id='osig']" />
(<xsl:value-of select="count(/html/set/osig/li)" />)
<h3 id="organisations">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'osig'" /></xsl:call-template>
(<xsl:value-of select="count(/buildinfo/document/set/osig/li)" />)
</h3>
<ul>
<xsl:apply-templates select="/html/set/osig/node()">
<xsl:apply-templates select="/buildinfo/document/set/osig/node()">
<xsl:sort select="." />
</xsl:apply-templates>
</ul>
<h3>
<xsl:value-of select="/html/text[@id='bsig']" />
(<xsl:value-of select="count(/html/set/bsig/li)" />)
<h3 id="businesses">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'bsig'" /></xsl:call-template>
(<xsl:value-of select="count(/buildinfo/document/set/bsig/li)" />)
</h3>
<ul>
<xsl:apply-templates select="/html/set/bsig/node()">
<xsl:apply-templates select="/buildinfo/document/set/bsig/node()">
<xsl:sort select="." />
</xsl:apply-templates>
</ul>
<h3>
<xsl:value-of select="/html/text[@id='isig']" />
(<xsl:value-of select="count(/html/set/isig/li)" />)
<h3 id="individuals">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'isig'" /></xsl:call-template>
(<xsl:value-of select="count(/buildinfo/document/set/isig/li)" />)
</h3>
<ul>
<xsl:apply-templates select="/html/set/isig/node()">
<xsl:apply-templates select="/buildinfo/document/set/isig/node()">
<xsl:sort select="." />
</xsl:apply-templates>
</ul>
<xsl:apply-templates select="/html/text/footer/node()" />
</body>
<xsl:apply-templates select="/buildinfo/document/text/footer/node()" />
</xsl:template>
<xsl:template match="country-list">
<xsl:call-template name="country-list" />
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
</xsl:stylesheet>

+ 3
- 12
campaigns/projects.xsl View File

@@ -1,11 +1,12 @@
<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/html/set/project [@status = 'active']">
<xsl:for-each select="/buildinfo/document/set/project [@status = 'active']">
<xsl:sort select="@date" order="descending"/>

<!-- Title -->
@@ -26,14 +27,4 @@
</xsl:for-each>
</xsl:template>

<!-- Do not copy <set> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 3
- 12
campaigns/swpat/documents.xsl View File

@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/html/set/document">
<xsl:for-each select="/buildinfo/document/set/document">
<xsl:sort select="@date" order="descending" />
<xsl:element name="li">
<xsl:element name="p">
@@ -38,14 +39,4 @@
</xsl:element>
</xsl:template>

<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set" />

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 7
- 8
campaigns/swpat/memorandum.de.xhtml View File

@@ -91,16 +91,15 @@ erlaubt, jedoch Softwarepatentierung eindeutig verhindert.</p>
Präsident<br />
Free Software Foundation Europe (FSFE)</p>

<p>
Wenn sie ihren Namen, oder den ihrer Organisation auf dieser
Listen hinzufügen möchten, kontaktieren sie bitte
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
<p>
Wenn sie ihren Namen, oder den ihrer Organisation auf dieser
Listen hinzufügen möchten, kontaktieren sie bitte
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<signatories/>

<text id="osig">Organisationen</text>
<text id="isig">Privatpersonen</text>
</body>


<timestamp>$Date$ $Author$</timestamp>

+ 8
- 9
campaigns/swpat/memorandum.el.xhtml View File

@@ -89,18 +89,17 @@
Πρόεδρος<br />
Ευρωπαϊκό Ίδρυμα Ελεύθερου Λογισμικού (FSFE)</p>

<p>
Αν επιθυμείτε να δείτε το όνομά σας ή το όνομα του οργανισμού στον
οποίο ανήκετε, να προστίθεται σε αυτόν τον κατάλογο, παρακαλούμε
επικοινωνήστε με τη διεύθυνση
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
<p>
Αν επιθυμείτε να δείτε το όνομά σας ή το όνομα του οργανισμού στον
οποίο ανήκετε, να προστίθεται σε αυτόν τον κατάλογο, παρακαλούμε
επικοινωνήστε με τη διεύθυνση
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
<signatories/>

</body>

<text id="osig">Οργανισμοί</text>
<text id="isig">Άτομα</text>


<timestamp>$Date$ $Author$</timestamp>
</html>

+ 7
- 8
campaigns/swpat/memorandum.en.xhtml View File

@@ -84,16 +84,15 @@ prevents software patenting.</p>
President<br />
Free Software Foundation Europe (FSFE)</p>

<p>
If you wish to see your name or the name of your organisation added
to this list, please contact
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
<p>
If you wish to see your name or the name of your organisation added
to this list, please contact
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<signatories/>

<text id="osig">Organisations</text>
<text id="isig">Individuals</text>
</body>


<timestamp>$Date$ $Author$</timestamp>

+ 6
- 7
campaigns/swpat/memorandum.it.xhtml View File

@@ -107,15 +107,14 @@ esplicitamente la brevettabilit
Presidente<br />
Free Software Foundation Europe (FSFE)</p>

<p>
Se volete aggiungere ai firmatari il vostro nome, o quello della vostra organizzazione,
contattate <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
<p>
Se volete aggiungere ai firmatari il vostro nome, o quello della vostra organizzazione,
contattate <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>

</body>
<signatories/>

<text id="osig">Organizzazioni</text>
<text id="isig">Individui</text>
</body>


<timestamp>$Date$ $Author$</timestamp>

+ 11
- 28
campaigns/swpat/memorandum.xsl View File

@@ -3,39 +3,22 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml"
encoding="ISO-8859-1"
indent="yes"
/>
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<xsl:template match="/">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>

<xsl:template match="/html/body">
<body>
<xsl:apply-templates />
<div class="indent"><b><xsl:value-of select="/html/text[@id='osig']" /></b>
<xsl:template match="signatories">
<div class="indent">
<b><xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'osig'" /></xsl:call-template></b>
<ul>
<xsl:apply-templates select="/html/set/osig/node()" />
<xsl:apply-templates select="/buildinfo/document/set/osig/node()" />
</ul>

<b><xsl:value-of select="/html/text[@id='isig']" /></b>
<b><xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'isig'" /></xsl:call-template></b>
<ul>
<xsl:apply-templates select="/html/set/isig/node()" />
</ul></div>
<xsl:apply-templates select="/html/text/footer/node()" />
</body>
</xsl:template>

<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
<xsl:apply-templates select="/buildinfo/document/set/isig/node()" />
</ul>
</div>
</xsl:template>

<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
</xsl:stylesheet>

+ 2
- 11
campaigns/valentine/2011/valentine-2011.xsl View File

@@ -4,7 +4,8 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dt="http://xsltsl.org/date-time">
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<!--
For documentation on tagging (e.g. fetching news and events), take a
@@ -41,14 +42,4 @@
</xsl:element>-->
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 1
- 1
contact/local.en.xml View File

@@ -4,7 +4,7 @@

<contactset>
<contact id="AT">
<homepage>/at</homepage>
<homepage>/at</homepage>
<email>austria@fsfeurope.org</email>
</contact>


+ 36
- 45
contact/local.xsl View File

@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/html/set/contact">
<xsl:for-each select="/buildinfo/document/set/contact">
<xsl:sort select="@id" />

<xsl:variable name="country">
@@ -13,31 +14,32 @@
</xsl:variable>

<!-- Heading -->
<xsl:element name="h3">
<xsl:value-of select="/html/set/country[@id=$country]" />
</xsl:element>
<h3>
<xsl:call-template name="generate-id-attribute" />
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]" />
</h3>

<!-- Team homepage -->
<xsl:if test="homepage != ''">
<xsl:element name="strong">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="homepage" />
</xsl:attribute>
Team Homepage
</xsl:element>
</xsl:element>
<xsl:element name="strong">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="homepage" />
</xsl:attribute>
Team Homepage
</xsl:element>
</xsl:element>
</xsl:if>

<!-- Address -->
<xsl:if test="address != ''">
<xsl:apply-templates select="address"/>
<xsl:apply-templates select="address"/>
</xsl:if>

<!-- Email -->
<xsl:if test="email != ''">
<xsl:element name="p">
<xsl:value-of select="/html/text[@id='email']" />
<xsl:value-of select="/buildinfo/document/text[@id='email']" />
<xsl:text> </xsl:text>
<xsl:element name="a">
<xsl:attribute name="href">
@@ -52,7 +54,7 @@
<!-- Phone -->
<xsl:if test="phone != ''">
<xsl:element name="p">
<xsl:value-of select="/html/text[@id='phone']" />
<xsl:value-of select="/buildinfo/document/text[@id='phone']" />
<xsl:text> </xsl:text>
<xsl:value-of select="phone" />
</xsl:element>
@@ -61,7 +63,7 @@
<!-- Fax -->
<xsl:if test="fax != ''">
<xsl:element name="p">
<xsl:value-of select="/html/text[@id='fax']" />
<xsl:value-of select="/buildinfo/document/text[@id='fax']" />
<xsl:text> </xsl:text>
<xsl:value-of select="fax" />
</xsl:element>
@@ -70,30 +72,30 @@
<!-- Core team members -->
<xsl:element name="p">
<xsl:choose>
<xsl:when test="count(/html/set/person[count(country[text()=$country])>0 and contains(@teams, 'main')])>0">
<xsl:value-of select="/html/text[@id='members']" />
<xsl:when test="count(/buildinfo/document/set/person[count(country[text()=$country])>0 and contains(@teams, 'main')])>0">
<xsl:value-of select="/buildinfo/document/text[@id='members']" />
<xsl:text> </xsl:text>
<xsl:for-each select="/html/set/person[count(country[text()=$country])>0 and contains(@teams, 'main')]">
<xsl:for-each select="/buildinfo/document/set/person[count(country[text()=$country])>0 and contains(@teams, 'main')]">
<xsl:if test="position()!=1">
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:choose>
<xsl:when test="link != ''">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="link" />
</xsl:attribute>
<xsl:value-of select="name" />
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="name" />
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="link != ''">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="link" />
</xsl:attribute>
<xsl:value-of select="name" />
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="name" />
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="/html/text[@id='nomembers']" />
<xsl:value-of select="/buildinfo/document/text[@id='nomembers']" />
</xsl:otherwise>
</xsl:choose>
</xsl:element>
@@ -101,15 +103,4 @@
</xsl:for-each>
</xsl:template>

<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="set" />
<xsl:template match="text" />

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 3
- 12
de/de.xsl View File

@@ -7,7 +7,8 @@
<xsl:import href="../tools/xsltsl/tagging.xsl" />
<xsl:import href="../tools/xsltsl/countries.xsl" />
<xsl:import href="../tools/xsltsl/translations.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- To localise this page to a new country, copy this file and change the following:
@@ -60,7 +61,7 @@
<!--define contact information-->
<xsl:template match="contact-details">
<xsl:for-each select="/html/set/contact">
<xsl:for-each select="/buildinfo/document/set/contact">

<xsl:if test="@id = 'DE'">
@@ -145,15 +146,5 @@
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>

<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

+ 11
- 0
default.xsl View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dt="http://xsltsl.org/date-time"
exclude-result-prefixes="dt">
<xsl:import href="fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
</xsl:stylesheet>

+ 3
- 12
documents/documents.xsl View File

@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes" />
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />

<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:variable name="type"><xsl:value-of select="@type" /></xsl:variable>
<xsl:element name="ul">
<xsl:for-each select="/html/set/document [@type = $type]">
<xsl:for-each select="/buildinfo/document/set/document [@type = $type]">
<xsl:sort select="@date" order="descending" />
<xsl:element name="li">
<xsl:element name="p">
@@ -39,14 +40,4 @@
</xsl:element>
</xsl:template>

<!-- Do not copy <set> to output at all -->
<xsl:template match="set" />