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/01_data')
-rw-r--r-- | source/01_data/articles.xsl | 2 | ||||
-rw-r--r-- | source/01_data/pages.xsl | 2 | ||||
-rw-r--r-- | source/01_data/tags.xsl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/01_data/articles.xsl b/source/01_data/articles.xsl index 3b3ac14..8737a6a 100644 --- a/source/01_data/articles.xsl +++ b/source/01_data/articles.xsl @@ -11,7 +11,7 @@ <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="main" mode="expression" source="$source_tree/directory[@name = '00_content']/directory" target="files"/> <target mode="plain" value="articles.xml"/> </xsl:variable> diff --git a/source/01_data/pages.xsl b/source/01_data/pages.xsl index fe0e54d..32de2bc 100644 --- a/source/01_data/pages.xsl +++ b/source/01_data/pages.xsl @@ -11,7 +11,7 @@ <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="main" mode="expression" source="$source_tree/directory[@name = '00_content']/directory" target="files"/> <target mode="plain" value="pages.xml"/> </xsl:variable> diff --git a/source/01_data/tags.xsl b/source/01_data/tags.xsl index bfd227b..c9e4b47 100644 --- a/source/01_data/tags.xsl +++ b/source/01_data/tags.xsl @@ -7,7 +7,7 @@ <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="main" mode="expression" source="$source_tree/directory[@name = '00_content']/directory" target="files"/> <target mode="plain" value="tags.xml"/> </xsl:variable> |