]> git.gir.st - tmk_keyboard.git/blob - protocol/lufa/LUFA-git/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt
Squashed 'tmk_core/' changes from caca2c0..dc0e46e
[tmk_keyboard.git] / protocol / lufa / LUFA-git / LUFA / StudioIntegration / XDK / lufa_indent_transform.xslt
1 <!--
2 LUFA Library
3 Copyright (C) Dean Camera, 2013.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7 -->
8
9 <!-- Atmel Studio framework XML transform file -->
10
11 <!-- Indents a given XML document to match the node hierarchy. -->
12 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
13 <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
14
15 <!-- Remove all white-space on all elements so that they can be indented -->
16 <xsl:strip-space elements="*"/>
17
18 <!-- Match the root node and copy, so that the output will be a correctly
19 indented version of the input document -->
20 <xsl:template match="/">
21 <xsl:copy-of select="."/>
22 </xsl:template>
23 </xsl:stylesheet>
Imprint / Impressum