libxmljs-dom
Version:
DOM wrapper for libxmljs
39 lines (38 loc) • 1.25 kB
HTML
<html>
<body dashes="first-second" spaces="first second">
<a href="/local">internal</a>
<a href="http://example.com">internal</a>
<a href="/test/">local</a>
<a href="/test/page?true">local</a>
<a href="http://example.com/test">local</a>
<a href="http://subdomain.example.com/test">local</a>
<a href="http://example.com/test/page?true">local</a>
<a href="http://external.com">external</a>
<a href="https://test.external.com">external</a>
<ul class="items-1">
<li only="true" class="only" id="only">only</li>
</ul>
<ul class="items-2">
<li items-2="first">first</li>
<li items-2="last">last</li>
</ul>
<b></b>
<div></div>
<b></b>
<ul class="items-3">
<li>first</li>
<li>second</li>
<li>third</li>
</ul>
<b></b>
<img />
<div class="empty items-0"></div>
<form>
<input type="checkbox" checked />
<select>
<option value="1">Option 1</option>
<option value="2" selected>Option 2</option>
</select>
</form>
</body>
</html>