aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 15 insertions, 8 deletions
diff --git a/README.md b/README.md
index afcc8f6..5f4790a 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,14 @@
- generating single transformations
- generating chained transformations
- using files or embedded XML-trees as transformation input
+- using external modules such as [StaticXSLT](https://github.com/KnairdA/StaticXSLT)
## Example:
-BuildXSLT can for example be used to build a [static website](https://github.com/KnairdA/blog.kummerlaender.eu) using the following generation chain called via `ixslt --input make.xml --transformation build.xsl`:
+BuildXSLT can for example be used to build a [static website](https://github.com/KnairdA/blog.kummerlaender.eu) using the following XML _Makefile_ called via `ixslt --input make.xml --transformation build.xsl --include ../StaticXSLT`:
```
-<task type="generate">
+<task type="module">
<input mode="embedded">
<datasource>
<meta>
@@ -23,11 +24,17 @@ BuildXSLT can for example be used to build a [static website](https://github.com
</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>
```
+
+Where the module definition of `StaticXSLT.xml` looks as follows:
+
+```
+<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>
+```