summaryrefslogtreecommitdiff
blob: 62a28b080f0cb60a4723f8ffc771507f1d527f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: $ -->
<!-- Used by [gentoo]/xml/htdocs/proj/en/overlays/repositories.xml -->
<!--
The source copy and history of this file is available from
http://git.overlays.gentoo.org/gitweb/?p=proj/repositories-xml-format.git
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                xmlns:exslt="http://exslt.org/common"
                xmlns:str="http://exslt.org/strings"
                extension-element-prefixes="str exslt">

<xsl:output     encoding="UTF-8"
                omit-xml-declaration="no"
                doctype-system="/dtd/repositories.dtd"
                cdata-section-elements="description longdescription name"
                indent="yes"
                media-type="application/xml"/>

<xsl:strip-space elements="*"/>

<!-- Identity transform, just copy everything -->
<xsl:template match="/repositories | /repositories//*">
  <xsl:copy>
     <xsl:copy-of select="attribute::*" />
     <xsl:apply-templates select="node()" />
  </xsl:copy>
</xsl:template>
</xsl:stylesheet>