Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/ https://fsfe.org
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.

thankgnus-2002.xsl 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <xsl:stylesheet version="1.0"
  3. xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  4. <xsl:output method="xml"
  5. encoding="ISO-8859-1"
  6. indent="yes"
  7. />
  8. <xsl:template match="/">
  9. <xsl:copy>
  10. <xsl:apply-templates select="@*|node()" />
  11. </xsl:copy>
  12. </xsl:template>
  13. <xsl:template match="/html/text" />
  14. <xsl:template match="/html/body">
  15. <body>
  16. <xsl:apply-templates />
  17. <h3><xsl:value-of select="/html/text[@id='patrons']" /></h3>
  18. <xsl:apply-templates select="/html/set/patrons/node()" />
  19. <h3><xsl:value-of select="/html/text[@id='sustaining']" /></h3>
  20. <ul>
  21. <xsl:apply-templates select="/html/set/sustainingcontributors/node()" />
  22. </ul>
  23. <h3><xsl:value-of select="/html/text[@id='contributors']" /></h3>
  24. <ul>
  25. <xsl:apply-templates select="/html/set/contributors/node()" />
  26. </ul>
  27. <h3><xsl:value-of select="/html/text[@id='supporters']" /></h3>
  28. <ul>
  29. <xsl:apply-templates select="/html/set/supporters/node()" />
  30. </ul>
  31. </body>
  32. </xsl:template>
  33. <xsl:template match="@*|node()" priority="-1">
  34. <xsl:copy>
  35. <xsl:apply-templates select="@*|node()"/>
  36. </xsl:copy>
  37. </xsl:template>
  38. <xsl:template match="set">
  39. </xsl:template>
  40. </xsl:stylesheet>