You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
4.3 KiB
116 lines
4.3 KiB
7 years ago
|
<!-- Generated by pkgdown: do not edit by hand -->
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
||
|
<title>htmltidy. htmltidy</title>
|
||
|
|
||
|
<!-- jquery -->
|
||
|
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
|
||
|
|
||
|
<!-- Bootstrap -->
|
||
|
|
||
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||
|
|
||
|
<!-- Font Awesome icons -->
|
||
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
|
||
|
|
||
|
|
||
|
<!-- pkgdown -->
|
||
|
<link href="../pkgdown.css" rel="stylesheet">
|
||
|
<script src="../pkgdown.js"></script>
|
||
|
|
||
|
<!-- mathjax -->
|
||
|
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
|
||
|
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||
|
<![endif]-->
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div class="container">
|
||
|
<header>
|
||
|
|
||
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||
|
<div class="container">
|
||
|
<div class="navbar-header">
|
||
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||
|
<span class="icon-bar"></span>
|
||
|
<span class="icon-bar"></span>
|
||
|
<span class="icon-bar"></span>
|
||
|
</button>
|
||
|
<a class="navbar-brand" href="../index.html">htmltidy</a>
|
||
|
</div>
|
||
|
<div id="navbar" class="navbar-collapse collapse">
|
||
|
<ul class="nav navbar-nav">
|
||
|
<li>
|
||
|
<a href="../index.html">Home</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="../reference/index.html">Reference</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="../news/index.html">News</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<ul class="nav navbar-nav navbar-right">
|
||
|
<li>
|
||
|
<a href="https://github.com/hrbrmstr/htmltidy">
|
||
|
<span class="fa fa-github fa-lg"></span>
|
||
|
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div><!--/.nav-collapse -->
|
||
|
</div><!--/.container -->
|
||
|
</div><!--/.navbar -->
|
||
|
|
||
|
</header>
|
||
|
|
||
|
<div class="page-header">
|
||
|
<h1>Tidy Up and Test XPath Queries on HTML and XML Content</h1>
|
||
|
</div>
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-9">
|
||
|
|
||
|
<p>HTML documents can be beautiful and pristine. They can also be
|
||
|
wretched, evil, malformed demon-spawn. Now, you can tidy up that HTML and XHTML
|
||
|
before processing it with your favorite angle-bracket crunching tools, going beyond
|
||
|
the limited tidying that 'libxml2' affords in the 'XML' and 'xml2' packages and
|
||
|
taming even the ugliest HTML code generated by the likes of Google Docs and Microsoft
|
||
|
Word. It's also possible to use the functions provided to format or "pretty print"
|
||
|
HTML content as it is being tidied. Utilities are also included that make it
|
||
|
possible to view formatted and "pretty printed" HTML/XML
|
||
|
content from HTML/XML document objects, nodes, node sets and plain character HTML/XML
|
||
|
using 'vkbeautify' (by Vadim Kiryukhin) and 'highlight.js' (by Ivan Sagalaev).
|
||
|
Also (optionally) enables filtering of nodes via XPath or viewing an XML document
|
||
|
in "tree" view using 'xml-viewer' (by Julian Gruber). See
|
||
|
<a href = 'https://github.com/vkiryukhin/vkBeautify'>https://github.com/vkiryukhin/vkBeautify</a> and
|
||
|
<a href = 'https://github.com/juliangruber/xml-viewer'>https://github.com/juliangruber/xml-viewer</a> for more information about 'vkbeautify'
|
||
|
and 'xml-viewer', respectively.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
<div class="col-md-3">
|
||
|
<h2>Author</h2>
|
||
|
|
||
|
Bob Rudis (bob@rud.is)
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<footer>
|
||
|
<p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
|
||
|
</footer>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|