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

43 satır
1.3KB

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:import href="../../fsfe.xsl" />
  4. <xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
  5. <!-- Fill dynamic content -->
  6. <xsl:template match="dynamic-content">
  7. <xsl:element name="ul">
  8. <xsl:for-each select="/buildinfo/document/set/document">
  9. <xsl:sort select="@date" order="descending" />
  10. <xsl:element name="li">
  11. <xsl:element name="p">
  12. <!-- Title as link -->
  13. <xsl:element name="b">
  14. <xsl:element name="a">
  15. <xsl:attribute name="href">
  16. <xsl:value-of select="link" />
  17. </xsl:attribute>
  18. <xsl:value-of select="title" />
  19. </xsl:element>
  20. </xsl:element>
  21. <!-- Date -->
  22. <xsl:text> (</xsl:text>
  23. <xsl:value-of select="@date" />
  24. <xsl:text>)</xsl:text>
  25. <!-- Line break -->
  26. <xsl:element name="br" />
  27. <!-- Description text -->
  28. <xsl:apply-templates select="description/node()" />
  29. </xsl:element>
  30. </xsl:element>
  31. </xsl:for-each>
  32. </xsl:element>
  33. </xsl:template>
  34. </xsl:stylesheet>