Update ye-olde copyrights on Atmel Studio integration files.
[pub/USBasp.git] / LUFA / StudioIntegration / VSIX / lufa_vsmanifest_transform.xslt
1 <!--
2 LUFA Library
3 Copyright (C) Dean Camera, 2015.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7 -->
8
9 <!-- Atmel Studio framework VSIX XML transform file -->
10
11 <!-- Updates the version element of a Visual Studio VSIX manifest file to the
12 value passed as a parameter to the stylesheet transform -->
13 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vs="http://schemas.microsoft.com/developer/vsx-schema/2010" version="1.0">
14 <xsl:output method="xml" omit-xml-declaration="yes"/>
15
16 <!-- Need to input the extension version for later use -->
17 <xsl:param name="extension-version"/>
18
19 <!-- Recursively match and copy/process all nodes/attributes -->
20 <xsl:template match="@*|node()">
21 <xsl:copy>
22 <xsl:apply-templates select="@*|node()"/>
23 </xsl:copy>
24 </xsl:template>
25
26 <!-- Update the extension version to the version passed as a parameter -->
27 <xsl:template match="vs:Version">
28 <xsl:copy>
29 <xsl:value-of select="$extension-version"/>
30 </xsl:copy>
31 </xsl:template>
32
33 </xsl:stylesheet>