3      Copyright (C) Dean Camera, 2013.
 
   5   dean [at] fourwalledcubicle [dot] com
 
   9 <!-- Atmel Studio framework VSIX XML transform file -->
 
  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"/>
 
  16         <!-- Need to input the extension version for later use -->
 
  17         <xsl:param name="extension-version"/>
 
  19         <!-- Recursively match and copy/process all nodes/attributes -->
 
  20         <xsl:template match="@*|node()">
 
  22                         <xsl:apply-templates select="@*|node()"/>
 
  26         <!-- Update the extension version to the version passed as a parameter -->
 
  27         <xsl:template match="vs:Version">
 
  29                         <xsl:value-of select="$extension-version"/>