diff options
author | Adrian Kummerlaender | 2014-07-12 16:15:42 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-07-12 16:15:42 +0200 |
commit | 086779c6d3d40f244b6aafd6d402fd29b921a735 (patch) | |
tree | c606a54c92f9b638797a95437adfe0a6fee05030 /README.md | |
parent | 141725d681dd69f77e993c3d59d613d1ad7014f9 (diff) | |
download | InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.tar InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.tar.gz InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.tar.bz2 InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.tar.lz InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.tar.xz InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.tar.zst InputXSLT-086779c6d3d40f244b6aafd6d402fd29b921a735.zip |
Implemented external "generate" function
* this function essentially provides the same functionality as FunctionTransform with the addition of directly committing the result to the filesystem
** this is needed if one wants to generate doctype-containing transformations from inside a transformation as "write-file" is not able to infer the doctype of a given xalan::XalanNode pointer
** this is a integral limitation of (at least) XSLT 1.0 as implemented in Apache Xalan
*** a document can of course only have a single document type
*** e.g. we can not include a doctype node in the result tree of FunctionTransform
* implemented test case for FunctionGenerate
* transformation "test.xsl" is shared between the FunctionTransform and FunctionGenerate test cases
* modified README.md accordingly
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,7 @@ Contrary to popular opinion I actually like XSLT as a content transformation lan - external `read-file` function for read-only access to both plain and xml files - external `read-directory` function for read-only directory traversal - external `transform` function for executing transformations inside transformations +- external `generate` function for executing transformations and committing the result directly to the filesystem - external `external-text-formatter` function for executing text formatters and capturing their XML output - external `write-file` function for writing files @@ -22,6 +23,7 @@ The `test` directory contains black-box test cases for every external function p - [`InputXSLT:read-file` (xml)](test/read_xml_file/transformation.xsl) - [`InputXSLT:read-directory`](test/read_directory/transformation.xsl) - [`InputXSLT:transform`](test/transform/transformation.xsl) +- [`InputXSLT:generate`](test/generate/transformation.xsl) - [`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) |