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

7 years ago
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<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="" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link href="" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
<link href="" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>
<!-- mathjax -->
<script src=''></script>
<!--[if lt IE 9]>
<script src=""></script>
<script src=""></script>
<div class="container">
<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>
<a class="navbar-brand" href="../index.html">htmltidy</a>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<a href="../index.html">Home</a>
<a href="../reference/index.html">Reference</a>
<a href="../news/index.html">News</a>
<ul class="nav navbar-nav navbar-right">
<a href="">
<span class="fa fa-github fa-lg"></span>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
<div class="page-header">
<h1>Tidy Up and Test XPath Queries on HTML and XML Content</h1>
<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 &#39;libxml2&#39; affords in the &#39;XML&#39; and &#39;xml2&#39; packages and
taming even the ugliest HTML code generated by the likes of Google Docs and Microsoft
Word. It&#39;s also possible to use the functions provided to format or &quot;pretty print&quot;
HTML content as it is being tidied. Utilities are also included that make it
possible to view formatted and &quot;pretty printed&quot; HTML/XML
content from HTML/XML document objects, nodes, node sets and plain character HTML/XML
using &#39;vkbeautify&#39; (by Vadim Kiryukhin) and &#39;highlight.js&#39; (by Ivan Sagalaev).
Also (optionally) enables filtering of nodes via XPath or viewing an XML document
in &quot;tree&quot; view using &#39;xml-viewer&#39; (by Julian Gruber). See
<a href = ''></a> and
<a href = ''></a> for more information about &#39;vkbeautify&#39;
and &#39;xml-viewer&#39;, respectively.</p>
<div class="col-md-3">
Bob Rudis (
<p>Built by <a href="">pkgdown</a>. Styled with <a href="">Bootstrap 3</a>.</p>