aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl
blob: 34d44e33110bfb40102cf6767533074eb08ff7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>

<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">

  <xsl:template match="/">
    <project>
      <xsl:apply-templates/>
    </project>
  </xsl:template>

  <xsl:template match="img|figure|icon">
    <resource source="{@src}" target="{@src}"/>
  </xsl:template>

  <xsl:template match="text()">
     <!-- ignore -->
  </xsl:template>

</xsl:stylesheet>