├── .editorconfig ├── .flake8 ├── .github └── workflows │ └── meta.yml ├── .gitignore ├── .meta.toml ├── .pre-commit-config.yaml ├── CHANGES.rst ├── CONTRIBUTING.rst ├── LICENSE.txt ├── MANIFEST.in ├── README.rst ├── docs ├── Makefile ├── TODO.txt ├── _static │ └── .gitkeep ├── advanced.rst ├── basic.rst ├── compiler.graffle ├── compiler.pdf ├── compiler.rst ├── conf.py ├── contributing.rst ├── deployment.rst ├── images │ ├── Diazo Diagram.graffle │ └── diazo-concept.png ├── index.rst ├── installation.rst ├── introduction.rst ├── make.bat ├── oldchanges.rst ├── quickstart.rst └── recipes │ ├── adding-an-attribute │ ├── content.html │ ├── index.rst │ ├── output.html │ ├── rules.xml │ └── theme.html │ ├── create-list-from-anchors │ ├── content.html │ ├── index.rst │ ├── output.html │ ├── rules.xml │ └── theme.html │ ├── diazo-tests-marker.txt │ ├── drop-empty-tags │ ├── content.html │ ├── index.rst │ ├── output.html │ ├── rules.xml │ └── theme.html │ ├── index.rst │ ├── insert-wrapping-element │ ├── content.html │ ├── index.rst │ ├── output.html │ ├── rules.xml │ └── theme.html │ ├── modifying-an-attribute │ ├── content.html │ ├── index.rst │ ├── output.html │ ├── rules.xml │ └── theme.html │ └── modifying-text │ ├── content.html │ ├── index.rst │ ├── output.html │ ├── rules.xml │ └── theme.html ├── examples ├── content.html ├── extra.html ├── rules.xml ├── theme.html └── wsgi │ ├── rules.xml │ ├── server.ini │ └── static │ ├── content │ ├── esi.html │ ├── inc.html │ └── index.html │ └── theme │ ├── index.html │ └── theme.css ├── news └── .gitkeep ├── pyproject.toml ├── setup.cfg ├── setup.py ├── src └── diazo │ ├── __init__.py │ ├── annotate-rules.xsl │ ├── annotate-themes.xsl │ ├── apply-conditions.xsl │ ├── apply-rules.xsl │ ├── compiler.py │ ├── cssrules.py │ ├── debug_resources │ ├── diazo-debug.css │ ├── diazo-debug.js │ ├── iframe.js │ └── jquery-1.8.3.min.js │ ├── defaults.xsl │ ├── diazo-debug.zcml │ ├── dummy.html │ ├── emit-stylesheet.xsl │ ├── filter.xsl │ ├── filter_html.xsl │ ├── filter_xhtml.xsl │ ├── fixup-themes.xsl │ ├── identity.xsl │ ├── include.xsl │ ├── merge-conditions.xsl │ ├── normalize-rules.xsl │ ├── rules.py │ ├── run.py │ ├── runtrace.py │ ├── runtrace_to_html.xsl │ ├── tests │ ├── __init__.py │ ├── absolute-prefix-disabled │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── absolute-prefix-ie-conditional-comments │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── absolute-prefix │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── allow-curly-brackets │ │ ├── README.rst │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── append │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── before-content-conditional │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── before-prepend-append-after │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── comments-outside-root-tag │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── comments │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── conditional-content-rules-with-variable │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── conditional-drop-in-append-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── conditional-drop-in-append-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── conditional-include-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── conditional-rules-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── conditional-rules-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── copy-xsl │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── copy │ │ ├── README.rst │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── css-prefix │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── css-xpath-child-selectors │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── css-xsl-template │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── default-options.cfg │ ├── document-includes │ │ ├── content.html │ │ ├── extra.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── drop-content-comment │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── drop-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── drop-replace │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── drop-theme-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── drop-theme-comment │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── empty-xmlns │ │ ├── README.txt │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── entities │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── esi │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── html-attributes │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── html-xml-lang-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── html-xml-lang-3 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── html-xml-lang │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-1 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-2 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-3 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-4 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-5 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-6 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-7 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── if-path-8 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── include-content │ │ ├── content.html │ │ ├── extra.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── indent-off │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── inline-xsl-apply-templates │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── inline-xsl-directives │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── modify-theme │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-copy-1 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-copy-2 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-copy-3 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-copy-4 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-replace-1 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-replace-2 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-replace-3 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-replace-4 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── multi-theme-1 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme1.html │ │ └── theme2.html │ ├── multi-theme-2 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme1.html │ │ └── theme2.html │ ├── multi-theme-3 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme1.html │ │ └── theme2.html │ ├── multi-theme-4 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme1.html │ │ └── theme2.html │ ├── multi-theme-5 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme1.html │ │ └── theme2.html │ ├── multi-theme-variable-1 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme1.html │ │ └── theme2.html │ ├── nested-conditions-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── nested-conditions-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── nested-conditions-3 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── nested-rules-for-xinclude │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── notheme-xmlns │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── null-if-content │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── path-param-1 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── path-param-2 │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── pre-line-endings │ │ ├── content.html │ │ ├── extra.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── prepend-append │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── prepend │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── replace-after │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── replace │ │ ├── README.rst │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── ssi │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── ssiwait │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── style-script-quoting-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── style-script-quoting-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── test_diazo.py │ ├── test_trace.py │ ├── test_wsgi.py │ ├── test_wsgi_files │ │ ├── custom_param.xml │ │ ├── esi.xml │ │ ├── explicit_theme.xml │ │ ├── path_param.xml │ │ ├── simple_transform.xml │ │ ├── subrequest.xml │ │ └── theme.html │ ├── update-namespace-1 │ │ ├── content.html │ │ ├── rules.xml │ │ ├── theme.html │ │ └── xpaths.txt │ ├── update-namespace-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── update-namespace-3 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-after-both-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-after-content-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-after-theme-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-after │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-before-both-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-before-content-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-before-content-content-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-before-replace-after-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-before-theme-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-before │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes-conditional-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes-conditional-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes-conditional-3 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes-href │ │ ├── content.html │ │ ├── include.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes-multiple-rules-conditional-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes-multiple-rules-unconditional │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-all-attributes │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-attribute-exists │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-attribute-not-exists │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-copy-multi-attribute │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-theme-conditional-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-theme-conditional-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-theme-conditional-3 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-theme-conditional-4 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-theme-conditional-5 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-all-attributes-theme │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-and-replace-messages │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-and-replace-portlets │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-attribute-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-attribute-theme-conditional-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-attribute-theme-conditional-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-attribute-theme │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-multi-attributes-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-drop-multi-attributes-theme │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-custom-param │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-merge │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-not-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-not-path │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-not │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if-path │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-if │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-merge-multiple-if-true │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-merge-multiple │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-merge-separator │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-merge │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-notheme-if-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-notheme-if-merge │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-notheme-if-path │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-notheme-if │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-notheme-nomatch │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-notheme-theme-precedence │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-both-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content-conditional-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content-conditional-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content-content-children-conditional-1 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content-content-children-conditional-2 │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content-content-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace-theme-children │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-replace │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-strip-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-strip-if-content │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-strip-if-theme │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── v1-strip-theme │ │ ├── content.html │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── without-theme │ │ ├── content.html │ │ ├── options.cfg │ │ ├── output.html │ │ └── rules.xml │ └── xinclude │ │ ├── content.html │ │ ├── included-rules.xml │ │ ├── output.html │ │ ├── rules.xml │ │ └── theme.html │ ├── update-namespace.xsl │ ├── utils.py │ └── wsgi.py └── tox.ini /CONTRIBUTING.rst: -------------------------------------------------------------------------------- 1 | Please see http://docs.plone.org/develop/coredev/docs/guidelines.html 2 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | # MANIFEST.in - Definition which files should be included in a release: 2 | 3 | # Files to include: 4 | include *.rst 5 | 6 | # Whitelist / Include Path completely: 7 | graft docs 8 | graft examples 9 | graft src 10 | 11 | # Blacklist / Exclude Files and Path 12 | prune docs/_build 13 | prune .tox 14 | global-exclude *pyc 15 | global-exclude *pyo 16 | global-exclude *pydinclude pyproject.toml 17 | recursive-exclude news * 18 | exclude news 19 | -------------------------------------------------------------------------------- /docs/_static/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plone/diazo/63b5fc6bbd3715cd6282fd789e8dc72730b9bfc5/docs/_static/.gitkeep -------------------------------------------------------------------------------- /docs/compiler.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plone/diazo/63b5fc6bbd3715cd6282fd789e8dc72730b9bfc5/docs/compiler.pdf -------------------------------------------------------------------------------- /docs/images/diazo-concept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plone/diazo/63b5fc6bbd3715cd6282fd789e8dc72730b9bfc5/docs/images/diazo-concept.png -------------------------------------------------------------------------------- /docs/recipes/adding-an-attribute/theme.html: -------------------------------------------------------------------------------- 1 |
9 |
10 |
11 |
Not empty paragraph text
12 |Not empty paragraph element 13 |
Not empty paragraph text
6 |7 | Not empty paragraph element 8 |
9 |More stuff
5 |...
6 |I have some content in here to merge.
10 |Perhaps an image will be in here later.
11 |one
5 |two
6 |7 | 8 | -------------------------------------------------------------------------------- /src/diazo/tests/append/content.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | 6 | 7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/diazo/tests/append/rules.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | 6 | 7 | 8 |
9 | 10 | -------------------------------------------------------------------------------- /src/diazo/tests/append/xpaths.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Basic append. Copy a from the content and make sure 3 | # that it shows up at the end. 4 | /html/head/*[position()='4']/@id='fourth' 5 | -------------------------------------------------------------------------------- /src/diazo/tests/before-content-conditional/content.html: -------------------------------------------------------------------------------- 1 | 2 |