diff options
Restructured generation logic into separate templates
* root template iterates through the levels and calls the "process" template for each stylesheet
* the "process" template handles metadata extraction and main datasource resolution
** calls "compile" template for generation preparation
* the "compile" template resolves the support datasources, merges the final datasource and resolves the target path using additional helper templates
* actual generation of the result is preformed by the "generate" template as before
Diffstat (limited to 'source')
-rw-r--r-- | source/03_result/page.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/03_result/page.xsl b/source/03_result/page.xsl index e3839a7..fc8b3a5 100644 --- a/source/03_result/page.xsl +++ b/source/03_result/page.xsl @@ -19,7 +19,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="iterate" source="target/02_data/pages.xml" target="page"/> <datasource type="support" mode="full" source="source/00_content/meta.xml" target="meta"/> - <target mode="xpath" value="concat('pages/', xalan:nodeset($input)/datasource/page/entry/@handle)"/> + <target mode="xpath" value="concat('pages/', xalan:nodeset($datasource)/datasource/page/entry/@handle)"/> </xsl:variable> <xsl:template name="title-text"> |