diff options
Removed need for prefixing datasource source attribute
* transformations contain one or more "datasource" meta nodes
** these nodes define the required datasources
** up until now it was required to define the whole path to the file to be loaded
* the implementation of directory linkage in b942f8e removed the underlying need for providing the source / target prefix
** this commit now updates the generation transformations to match this change
*** this simplifies the datasource definition process for the end-user
*** additionally it makes the target / source directories easier to maintain
* changed cleanage task implementation to remove the whole directory and recreate it from scratch
** otherwise directory linkage and in turn the whole generation failed when the target directory did not exist in the first place
* removed task reordering in the process transformation
** tasks are now processed exactly as they were scheduled
** this was changed so that e.g. the "00_content" directory is linked before the first datasource is required
Diffstat (limited to 'source/99_result/stream.xsl')
-rw-r--r-- | source/99_result/stream.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 526b8db..4d93a2c 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -8,9 +8,9 @@ <xsl:include href="[utility/date-time.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="iterate" source="target/03_meta/paginated_articles.xml" target="page"/> - <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <datasource type="support" mode="full" source="target/02_data/articles.xml" target="articles"/> + <datasource type="main" mode="iterate" source="03_meta/paginated_articles.xml" target="page"/> + <datasource type="support" mode="full" source="03_meta/meta.xml" target="meta"/> + <datasource type="support" mode="full" source="02_data/articles.xml" target="articles"/> <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/page/entry/@index, '/index.html')"/> </xsl:variable> |