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.
 
 
 
 
 
 

32 lines
895 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:import href="../tools/xsltsl/tagging.xsl" />
  4. <xsl:output method="xml" encoding="UTF-8" indent="yes" />
  5. <xsl:template match="/">
  6. <xsl:copy>
  7. <xsl:apply-templates select="@*|node()"/>
  8. </xsl:copy>
  9. </xsl:template>
  10. <xsl:template match="legal-news">
  11. <xsl:call-template name="fetch-news">
  12. <xsl:with-param name="tag" select="'legal-news'" />
  13. </xsl:call-template>
  14. </xsl:template>
  15. <!-- Do not copy <set> and <text> to output at all -->
  16. <xsl:template match="/html/set" />
  17. <xsl:template match="/html/text" />
  18. <!-- For all other nodes, copy verbatim -->
  19. <xsl:template match="@*|node()" priority="-1">
  20. <xsl:copy>
  21. <xsl:apply-templates select="@*|node()"/>
  22. </xsl:copy>
  23. </xsl:template>
  24. </xsl:stylesheet>