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

Side by Side Diff: third_party/webdriver/test_data/transformable.xsl

Issue 424363004: Update third_party/webdriver/pylib to r18456 and delete test_data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "python" -> "pylib" Created 6 years, 4 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
OLDNEW
(Empty)
1 <?xml version="1.0"?>
2
3 <xsl:stylesheet
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:ui="http://dummy.com/mynamespace"
6 xmlns="http://www.w3.org/1999/xhtml"
7 xmlns:html="http://www.w3.org/1999/xhtml"
8 version="1.0">
9
10 <xsl:output method="html"
11 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
12 doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="yes"/>
13
14 <xsl:template match="ui:app">
15 <form>
16 <xsl:attribute name="action">
17 <xsl:value-of select="@url" />
18 </xsl:attribute>
19 <xsl:apply-templates select="./*" />
20 </form>
21 </xsl:template>
22
23 <xsl:template match="ui:someButton">
24 <input type="submit">
25 <xsl:attribute name="id">
26 <xsl:value-of select="@id" />
27 </xsl:attribute>
28 <xsl:attribute name="name">
29 <xsl:value-of select="@name" />
30 </xsl:attribute>
31 <xsl:attribute name="value">
32 <xsl:value-of select="normalize-space(.)"/>
33 </xsl:attribute>
34 </input>
35 </xsl:template>
36
37 </xsl:stylesheet>
OLDNEW
« no previous file with comments | « third_party/webdriver/test_data/transformable.xml ('k') | third_party/webdriver/test_data/underscore.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698