diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-14 10:23:59 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-14 10:23:59 +0000 |
commit | f3a8263842ca30f10eff56353c1e78c1f9436f95 (patch) | |
tree | 991e53ff061463847850ca0ba916507bbbad66f3 /LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt | |
parent | b6a38164bdaf67bdd482e93b32bad9c3c5720264 (diff) | |
download | lufa-f3a8263842ca30f10eff56353c1e78c1f9436f95.tar.gz lufa-f3a8263842ca30f10eff56353c1e78c1f9436f95.tar.bz2 lufa-f3a8263842ca30f10eff56353c1e78c1f9436f95.zip |
Restructure Atmel Studio integration files and transforms.
Diffstat (limited to 'LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt')
-rw-r--r-- | LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt b/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt new file mode 100644 index 000000000..166f42571 --- /dev/null +++ b/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt @@ -0,0 +1,23 @@ +<!-- + LUFA Library + Copyright (C) Dean Camera, 2013. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +--> + +<!-- Atmel Studio framework XML transform file --> + +<!-- Indents a given XML document to match the node hierarchy. --> +<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> |