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

Side by Side Diff: LayoutTests/fast/xsl/xslt-relative-path.xml

Issue 365873002: Implement a part of ProcessingInstruction by using PrivateScript (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WIP: async XHR, rewriting layout tests Created 6 years, 3 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"?>
2 <?xml-stylesheet type="text/xsl" href="#stylesheet"?>
3 <!DOCTYPE doc [
4 <!ELEMENT xsl:stylesheet ANY>
5 <!ATTLIST xsl:stylesheet id ID #REQUIRED>
6 ]>
7 <doc>
8
9 <xsl:stylesheet version="1.0" id="stylesheet" xmlns:xsl="http://www.w3.org/199 9/XSL/Transform">
10 <xsl:output method="html"/>
11 <xsl:template match="xsl:stylesheet"/>
12
13 <xsl:variable name="method1">file:resources/findme.xml</xsl:variable>
14 <xsl:variable name="method2">resources/findme.xml</xsl:variable>
15
16 <xsl:template match="doc">
17 <html>
18 <head>
19 <title>Testing Webkit</title>
20 </head>
21
22 <body>
23 <p>Here is an attempt to extract the string "Hello, Webkit!" from the file findme.xml:</p>
24
25 <p>using document('<xsl:value-of select="$method1"/>'):
26 <xsl:value-of select="document($method1)/foo/bar"/></p>
27 <p>using document('<xsl:value-of select="$method2"/>'):
28 <xsl:value-of select="document($method2)/foo/bar"/></p>
29
30 </body>
31 </html>
32 </xsl:template>
33
34 </xsl:stylesheet>
35 </doc>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xsl/xslt-relative-path.html ('k') | LayoutTests/fast/xsl/xslt-second-level-import.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698