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

Side by Side Diff: third_party/xdg-utils/scripts/xsl/refentry2htmlindex.xsl

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method="html"
5 encoding="UTF-8"
6 omit-xml-declaration="yes"
7 indent="no"/>
8 <xsl:template match="/">
9 <xsl:for-each select='refentry/refnamediv'>
10 <xsl:variable name="href">
11 <xsl:value-of select="refname"/>
12 <xsl:text>.html</xsl:text>
13 </xsl:variable>
14 <tr>
15 <td><a href="{$href}"><xsl:value-of select="refname"/></a>:</td>
16 <td><xsl:value-of select="refpurpose"/></td>
17 </tr>
18 </xsl:for-each>
19 </xsl:template>
20 </xsl:stylesheet>
OLDNEW
« no previous file with comments | « third_party/xdg-utils/scripts/xsl/README ('k') | third_party/xdg-utils/scripts/xsl/sharedmime-list.xsl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698