upload
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
このリポジトリはアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュや、課題・プルリクエストのオープンはできません。

lufa_indent_transform.xslt 736B

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