aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/style/stylesheets/any2project.xsl
blob: d1253f11eaa94157e1385a93a659a85154c390d4 (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/XSL/Transform/1.0">

  <xsl:param name="label"/>

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

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

  <xsl:template match="node()">
    <xsl:apply-templates/>
  </xsl:template>

</xsl:stylesheet>