Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/xdg-utils/scripts/xsl/sharedmime-list.xsl

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/xdg-utils/scripts/xsl/sharedmime-list.xsl
===================================================================
--- third_party/xdg-utils/scripts/xsl/sharedmime-list.xsl (revision 0)
+++ third_party/xdg-utils/scripts/xsl/sharedmime-list.xsl (revision 0)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info">
+<xsl:output method="text"
+ encoding="UTF-8"
+ indent="no"/>
+<xsl:template match="/">
+ <xsl:for-each select='mime:mime-info/mime:mime-type'>
+ <xsl:value-of select="@type"/><xsl:text>&#10;</xsl:text>
+ </xsl:for-each>
+</xsl:template>
+</xsl:stylesheet>
« no previous file with comments | « third_party/xdg-utils/scripts/xsl/refentry2htmlindex.xsl ('k') | third_party/xdg-utils/scripts/xsl/sharedmime2mimelnk.xsl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698