Cleanup a couple of consts left un-renamed.
[chromium-blink-merge.git] / third_party / webdriver / test_data / transformable.xsl
blob77a70cbc9701ea5acc48432046aa0e99ea235a9b
1 <?xml version="1.0"?>
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">
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"/>
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>
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>
37 </xsl:stylesheet>