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.

projects.xsl 914B

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0"?>
  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:for-each select="/buildinfo/document/set/project [@status = 'active']">
  8. <xsl:sort select="@date" order="descending"/>
  9. <!-- Title -->
  10. <xsl:element name="h3">
  11. <xsl:element name="a">
  12. <xsl:attribute name="href">
  13. <xsl:value-of select="link"/>
  14. </xsl:attribute>
  15. <xsl:value-of select="title"/>
  16. </xsl:element>
  17. </xsl:element>
  18. <!-- Description -->
  19. <xsl:element name="p">
  20. <xsl:apply-templates select="description/node()"/>
  21. </xsl:element>
  22. </xsl:for-each>
  23. </xsl:template>
  24. </xsl:stylesheet>