aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-06-03 20:35:19 +0200
committerAdrian Kummerländer2014-06-03 20:35:19 +0200
commit7c15531b60e4e792d1137d5ceb66d3047848a422 (patch)
treea5f7a0b3e8b71723493f663c14d5f910f7df20e6
parent5ca3d042326e50448a3f90cd3e29e174909cd8cd (diff)
downloadInputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.tar
InputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.tar.gz
InputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.tar.bz2
InputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.tar.lz
InputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.tar.xz
InputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.tar.zst
InputXSLT-7c15531b60e4e792d1137d5ceb66d3047848a422.zip
Updated README.md to include test cases
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6c36e06..d23544e 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
## Why?!
-Contrary to popular opinion I actually like XSLT as a content transformation language and have built - amongst other things - my personal website on top of it. While I used the XSLT based [Symphony CMS](http://www.getsymphony.com/) for that particular endeavour, the intention behind the experiment contained within this repository is to develop something like a static content management system based on XSLT.
+Contrary to popular opinion I actually like XSLT as a content transformation language and have built - amongst other things - my personal website on top of it. While I used the XSLT based [Symphony CMS](http://www.getsymphony.com/) for that particular endeavour, the intention behind the experiment contained within this repository is to develop XSLT extensions enabling the development of static site generators using XSLT as both a template and application language.
## Current features:
@@ -14,6 +14,16 @@ Contrary to popular opinion I actually like XSLT as a content transformation lan
- external `transform` function for executing transformations inside transformations
- external `external-text-formatter` function for executing text formatters and capturing their XML output
+## Examples:
+
+The `test` directory contains black-box test cases for every external function provided by this application which may be used as basic usage examples.
+
+- [`InputXSLT:read-file`](test/read_file/transformation.xsl)
+- [`InputXSLT:read-xml-file`](test/read_xml_file/transformation.xsl)
+- [`InputXSLT:read-directory`](test/read_directory/transformation.xsl)
+- [`InputXSLT:transform`](test/transform/transformation.xsl)
+- [`InputXSLT:external-text-formatter`](test/external_text_formatter/transformation.xsl) (requires [markdown.pl](http://daringfireball.net/projects/markdown/))
+
## Requirements:
- CMake