aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-14 21:49:16 +0200
committerAdrian Kummerlaender2014-07-14 21:49:16 +0200
commit3435666d53353b2469fe338828313e3ca910e306 (patch)
tree79f800c2a8246816b9963cd09d469fdeb8a1a0a3
parentf69c1e4e774ee6db9c9551ec7a6a32c840686f18 (diff)
downloadInputXSLT-3435666d53353b2469fe338828313e3ca910e306.tar
InputXSLT-3435666d53353b2469fe338828313e3ca910e306.tar.gz
InputXSLT-3435666d53353b2469fe338828313e3ca910e306.tar.bz2
InputXSLT-3435666d53353b2469fe338828313e3ca910e306.tar.lz
InputXSLT-3435666d53353b2469fe338828313e3ca910e306.tar.xz
InputXSLT-3435666d53353b2469fe338828313e3ca910e306.tar.zst
InputXSLT-3435666d53353b2469fe338828313e3ca910e306.zip
Updated README.md to mention TestXSLT
* TestXSLT is a playground for testing static site generation concepts based on InputXSLT * replaced xalan::FormatterToXML indent amount with its default value
-rw-r--r--README.md2
-rw-r--r--src/transformer_facade.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 25b77e6..8629b9a 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,8 @@ The `test` directory contains black-box test cases for every external function p
- [`InputXSLT:external-text-formatter`](test/external_text_formatter/transformation.xsl) (requires [markdown.pl](http://daringfireball.net/projects/markdown/))
- [`InputXSLT:write-file`](test/write_file/transformation.xsl)
+Concepts of how static sites may be generated using InputXSLT are being evaluated in [TestXSLT](https://github.com/KnairdA/TestXSLT).
+
## Requirements:
- CMake
diff --git a/src/transformer_facade.cc b/src/transformer_facade.cc
index 431b9f8..1a55c4e 100644
--- a/src/transformer_facade.cc
+++ b/src/transformer_facade.cc
@@ -38,7 +38,7 @@ std::unique_ptr<xalan::FormatterToXML> augmentFormatterToXML(
*(formatter.getWriter()),
stylesheetRoot->getOutputVersion(outputVersion),
stylesheetRoot->getOutputIndent(),
- 0,
+ xalan::FormatterToXML::eDefaultIndentAmount,
stylesheetRoot->getOutputEncoding(outputEncoding),
stylesheetRoot->getOutputMediaType(outputMediaType),
stylesheetRoot->getOutputDoctypePublic(outputDoctypePublic),