3 Copyright (C) Dean Camera, 2013.
5 dean [at] fourwalledcubicle [dot] com
9 <!-- Atmel Studio framework VSIX XML transform file -->
12 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
13 <xsl:output method="xml" omit-xml-declaration="yes"/>
15 <!-- Need to input the LUFA version for later use -->
16 <xsl:param name="lufa-version"/>
18 <!-- Recursively match and copy/process all nodes/attributes -->
19 <xsl:template match="@*|node()">
21 <xsl:apply-templates select="@*|node()"/>
25 <!-- Update the LUFA version to the version passed as a parameter -->
26 <xsl:template match="Version">
28 <xsl:value-of select="substring($lufa-version, 1, 2)"/>
29 <xsl:text>.</xsl:text>
30 <xsl:value-of select="substring($lufa-version, 3, 2)"/>
31 <xsl:text>.</xsl:text>
32 <xsl:value-of select="substring($lufa-version, 5, 2)"/>