-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (40 loc) · 1.36 KB
/
Copy pathindex.html
File metadata and controls
43 lines (40 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XPath Playground</title>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap-theme.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app" class="container">
<h1>XPath Playground</h1>
<label for="input">Input</label>
<textarea id="input" rows="10" class="form-control">
<html>
<head>
<title>My page</title>
</head>
<body>
<h2>Welcome to my <a href="#">page</a></h2>
<p>This is the first paragraph</p>.
<!-- this is the end -->
</body>
</html></textarea>
<label for="xpath">XPath</label>
<input class="form-control" type="text" id="xpath" value='//h2/a' />
<label for="output">Result</label>
<div class="html-output"></div>
<div class="push"></div>
</div>
<footer class="footer">
<div class="container">
<p>Made with <span class='shub-red'>❤</span> at <a href="https://scrapinghub.com">Scrapinghub</a></p>
</div>
</footer>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/jquery-xpath/jquery.xpath.js"></script>
<script src="main.js"></script>
</body>
</html>