aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-12 16:26:46 +0200
committerAdrian Kummerlaender2014-10-12 16:26:46 +0200
commit4d41bb784d7a9ba2283925efd6918e8359f52eae (patch)
tree2f2237c4a1637fff4bf611ae9f53c6e0d35a0cf2
parent4be8a62eacf0fc2a2632c7e4708d578a61a141b7 (diff)
downloadblog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.tar
blog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.tar.gz
blog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.tar.bz2
blog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.tar.lz
blog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.tar.xz
blog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.tar.zst
blog.kummerlaender.eu-4d41bb784d7a9ba2283925efd6918e8359f52eae.zip
Updated BuildXSLT project page to mention module support
-rw-r--r--source/00_content/pages/projects/build_xslt.md27
1 files changed, 17 insertions, 10 deletions
diff --git a/source/00_content/pages/projects/build_xslt.md b/source/00_content/pages/projects/build_xslt.md
index 0a8cc12..9c71677 100644
--- a/source/00_content/pages/projects/build_xslt.md
+++ b/source/00_content/pages/projects/build_xslt.md
@@ -4,21 +4,32 @@
It aims to provide a foundation for building more complex applications such as a fully fledged [static site generator] by enabling users to define _XML Makefiles_ instead of manually calling single [InputXSLT] transformations.
-The source code of BuildXSLT is available on both my [Github] profile and [cgit].
+The source code of _BuildXSLT_ is available on both my [Github] profile and [cgit].
## Current features
* processing tasks contained within _XML Makefiles_
* generating single transformations
* generating chained transformations
+* using external modules such as [StaticXSLT]
* using files or embedded XML-trees as transformation input
## Usage example
-While BuildXSLT offers enough flexibility for all kinds of different XSLT based generation tasks it was specifically built to cater for the requirements of the [static site generator] this site is built with. As such its _XML Makefile_ makes for the best demonstration of what one can do with BuildXSLT:
+While _BuildXSLT_ offers enough flexibility for all kinds of different XSLT based generation tasks it was specifically built to cater for the requirements of the [static site generator] this site is built with. As such its module definition file and the _XML Makefile_ used to call it makes for the best demonstration of what one can do with _BuildXSLT_:
~~~
-<task type="generate">
+<transformation mode="chain">
+ <link>src/steps/list.xsl</link>
+ <link>src/steps/plan.xsl</link>
+ <link>src/steps/process.xsl</link>
+ <link>src/steps/summarize.xsl</link>
+</transformation>
+~~~
+{: .language-xsl}
+
+~~~
+<task type="module">
<input mode="embedded">
<datasource>
<meta>
@@ -27,17 +38,13 @@ While BuildXSLT offers enough flexibility for all kinds of different XSLT based
</meta>
</datasource>
</input>
- <transformation mode="chain">
- <link>detail/list.xsl</link>
- <link>detail/plan.xsl</link>
- <link>detail/process.xsl</link>
- <link>detail/summarize.xsl</link>
- </transformation>
+ <definition mode="file">[StaticXSLT.xml]</definition>
</task>
~~~
{: .language-xsl}
[InputXSLT]: /page/input_xslt/
-[static site generator]: /page/this_website/
+[static site generator]: /page/static_xslt/
+[StaticXSLT]: /page/static_xslt/
[Github]: https://github.com/KnairdA/BuildXSLT/
[cgit]: http://code.kummerlaender.eu/BuildXSLT/