aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration/lufa_indent_transform.xslt
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-03 10:40:35 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-03 10:40:35 +0000
commit04d13d264c924d5c3380076f8977ca2dd0b14fd8 (patch)
tree74449519ca2d4cb7bacb9fc42523986951932e71 /LUFA/StudioIntegration/lufa_indent_transform.xslt
parentaa61ee1c118e62e13e7fa4e2a4397e933322a52d (diff)
downloadlufa-04d13d264c924d5c3380076f8977ca2dd0b14fd8.tar.gz
lufa-04d13d264c924d5c3380076f8977ca2dd0b14fd8.tar.bz2
lufa-04d13d264c924d5c3380076f8977ca2dd0b14fd8.zip
Add Atmel Studio integration files.
Diffstat (limited to 'LUFA/StudioIntegration/lufa_indent_transform.xslt')
-rw-r--r--LUFA/StudioIntegration/lufa_indent_transform.xslt22
1 files changed, 22 insertions, 0 deletions
diff --git a/LUFA/StudioIntegration/lufa_indent_transform.xslt b/LUFA/StudioIntegration/lufa_indent_transform.xslt
new file mode 100644
index 000000000..ccd738905
--- /dev/null
+++ b/LUFA/StudioIntegration/lufa_indent_transform.xslt
@@ -0,0 +1,22 @@
+<!--
+ LUFA Library
+ Copyright (C) Dean Camera, 2012.
+
+ dean [at] fourwalledcubicle [dot] com
+ www.lufa-lib.org
+-->
+
+<!-- Atmel Studio framework Module XML transform file -->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
+
+ <!-- Remove all white-space on all elements so that they can be indented -->
+ <xsl:strip-space elements="*"/>
+
+ <!-- Match the root node and copy, so that the output will be a correctly
+ indented version of the input document -->
+ <xsl:template match="/">
+ <xsl:copy-of select="."/>
+ </xsl:template>
+</xsl:stylesheet> \ No newline at end of file