diff options
Updated source tree datasource query to be more explicit
* "00_content" directory is now explicitly referenced
* added "source_tree" variable to task processing transformation
** changed datasource meta-tag expressions to reference "source_tree" instead of "$root/source"
Diffstat (limited to 'source/02_meta')
-rw-r--r-- | source/02_meta/categories.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/02_meta/categories.xsl b/source/02_meta/categories.xsl index c0075b0..9bb1287 100644 --- a/source/02_meta/categories.xsl +++ b/source/02_meta/categories.xsl @@ -10,8 +10,8 @@ <xsl:include href="[utility/datasource.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="expression" source="$root/source/directory[1]/directory" target="files"/> - <datasource type="support" mode="full" source="01_data/pages.xml" target="pages"/> + <datasource type="main" mode="expression" source="$source_tree/directory[@name = '00_content']/directory" target="files"/> + <datasource type="support" mode="full" source="01_data/pages.xml" target="pages"/> <target mode="plain" value="categories.xml"/> </xsl:variable> |