Skip to content

Commit

Permalink
- Added xmlCopyDoc before xsltApplyStylesheet to prevent weird issues…
Browse files Browse the repository at this point in the history
… regarding selects which don't reflect the state of the xml after modifications, e.g. moveElem.

- Added unit tests to prevent regressions related to the weird issue.
  • Loading branch information
mauvilsa committed Sep 2, 2020
1 parent 730549b commit 1fdad55
Show file tree
Hide file tree
Showing 25 changed files with 1,109 additions and 799 deletions.
44 changes: 27 additions & 17 deletions docs/py-pagexml/_modules/index.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Overview: module code &mdash; pagexml 2020.04.15 documentation</title>
<title>Overview: module code &mdash; pagexml 2020.09.02 documentation</title>



<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />







<script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->


<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/language_data.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/language_data.js"></script>

<script type="text/javascript" src="../_static/js/theme.js"></script>




<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
</head>
Expand All @@ -48,7 +49,7 @@



<a href="../index.html" class="icon icon-home"> pagexml
<a href="../index.html" class="icon icon-home" alt="Documentation Home"> pagexml



Expand All @@ -58,7 +59,7 @@


<div class="version">
2020.04.15
2020.09.02
</div>


Expand All @@ -75,6 +76,7 @@

</div>


<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">


Expand All @@ -90,6 +92,7 @@


</div>

</div>
</nav>

Expand Down Expand Up @@ -128,7 +131,7 @@

<ul class="wy-breadcrumbs">

<li><a href="../index.html">Docs</a> &raquo;</li>
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>

<li>Overview: module code</li>

Expand Down Expand Up @@ -161,11 +164,19 @@ <h1>All modules for which code is available</h1>

<div role="contentinfo">
<p>

&copy; Copyright 2016-present, Mauricio Villegas

</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.



Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a

<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>

provided by <a href="https://readthedocs.org">Read the Docs</a>.

</footer>

Expand All @@ -177,7 +188,6 @@ <h1>All modules for which code is available</h1>
</div>



<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
Expand Down
44 changes: 27 additions & 17 deletions docs/py-pagexml/_modules/pagexml.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>pagexml &mdash; pagexml 2020.04.15 documentation</title>
<title>pagexml &mdash; pagexml 2020.09.02 documentation</title>



<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />







<script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->


<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<script type="text/javascript" src="../_static/language_data.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/language_data.js"></script>

<script type="text/javascript" src="../_static/js/theme.js"></script>




<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
</head>
Expand All @@ -48,7 +49,7 @@



<a href="../index.html" class="icon icon-home"> pagexml
<a href="../index.html" class="icon icon-home" alt="Documentation Home"> pagexml



Expand All @@ -58,7 +59,7 @@


<div class="version">
2020.04.15
2020.09.02
</div>


Expand All @@ -75,6 +76,7 @@

</div>


<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">


Expand All @@ -90,6 +92,7 @@


</div>

</div>
</nav>

Expand Down Expand Up @@ -128,7 +131,7 @@

<ul class="wy-breadcrumbs">

<li><a href="../index.html">Docs</a> &raquo;</li>
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>

<li><a href="index.html">Module code</a> &raquo;</li>

Expand Down Expand Up @@ -219,11 +222,19 @@ <h1>Source code for pagexml</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>

&copy; Copyright 2016-present, Mauricio Villegas

</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.



Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a

<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>

provided by <a href="https://readthedocs.org">Read the Docs</a>.

</footer>

Expand All @@ -235,7 +246,6 @@ <h1>Source code for pagexml</h1><div class="highlight"><pre>
</div>



<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
Expand Down
44 changes: 27 additions & 17 deletions docs/py-pagexml/_modules/pagexml/swigPageXML.html
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@


<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>pagexml &mdash; pagexml 2020.04.15 documentation</title>
<title>pagexml &mdash; pagexml 2020.09.02 documentation</title>



<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />







<script type="text/javascript" src="../../_static/js/modernizr.min.js"></script>
<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->


<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
<script type="text/javascript" src="../../_static/jquery.js"></script>
<script type="text/javascript" src="../../_static/underscore.js"></script>
<script type="text/javascript" src="../../_static/doctools.js"></script>
<script type="text/javascript" src="../../_static/language_data.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/language_data.js"></script>

<script type="text/javascript" src="../../_static/js/theme.js"></script>




<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
</head>
Expand All @@ -48,7 +49,7 @@



<a href="../../index.html" class="icon icon-home"> pagexml
<a href="../../index.html" class="icon icon-home" alt="Documentation Home"> pagexml



Expand All @@ -58,7 +59,7 @@


<div class="version">
2020.04.15
2020.09.02
</div>


Expand All @@ -75,6 +76,7 @@

</div>


<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">


Expand All @@ -90,6 +92,7 @@


</div>

</div>
</nav>

Expand Down Expand Up @@ -128,7 +131,7 @@

<ul class="wy-breadcrumbs">

<li><a href="../../index.html">Docs</a> &raquo;</li>
<li><a href="../../index.html" class="icon icon-home"></a> &raquo;</li>

<li><a href="../index.html">Module code</a> &raquo;</li>

Expand Down Expand Up @@ -13272,11 +13275,19 @@ <h1>Source code for pagexml</h1><div class="highlight"><pre>

<div role="contentinfo">
<p>

&copy; Copyright 2016-present, Mauricio Villegas

</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.



Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a

<a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>

provided by <a href="https://readthedocs.org">Read the Docs</a>.

</footer>

Expand All @@ -13288,7 +13299,6 @@ <h1>Source code for pagexml</h1><div class="highlight"><pre>
</div>



<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
Expand Down
4 changes: 3 additions & 1 deletion docs/py-pagexml/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '2020.04.15',
VERSION: '2020.09.02',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
FILE_SUFFIX: '.html',
LINK_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
NAVIGATION_WITH_KEYS: false
Expand Down
Loading

0 comments on commit 1fdad55

Please sign in to comment.