From 9648c804a23278fcdf66e0f78c350e2ddce492ee Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Thu, 17 Apr 2014 21:51:20 +0200 Subject: First commit of _InputXSLT_ * quick and dirty proof-of-concept for adding plain-file access to XSLT ** based on Apache Xalan XSLT processor * The idea is to create something like a static counterpart to Symphony CMS * Adding functions to XSLT for file system, plain file and binary file (read)-access * This project aims to test how such functionality can be integrated into XSLT ** if it works it could be developed into a nice static content transformation system * Contrary to the popular opinion I actually like XML and XSLT when used responsibly --- dummy/in.xml | 7 +++++++ dummy/test.txt | 1 + dummy/transform.xsl | 31 +++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dummy/in.xml create mode 100644 dummy/test.txt create mode 100644 dummy/transform.xsl (limited to 'dummy') diff --git a/dummy/in.xml b/dummy/in.xml new file mode 100644 index 0000000..7b512bc --- /dev/null +++ b/dummy/in.xml @@ -0,0 +1,7 @@ + + + Test1 + Test2 + Test3 + Test4 + diff --git a/dummy/test.txt b/dummy/test.txt new file mode 100644 index 0000000..cd08755 --- /dev/null +++ b/dummy/test.txt @@ -0,0 +1 @@ +Hello world! diff --git a/dummy/transform.xsl b/dummy/transform.xsl new file mode 100644 index 0000000..dca15a1 --- /dev/null +++ b/dummy/transform.xsl @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + -- cgit v1.2.3