From 2f8ce0f2340eb04c53d2c7602cbfc2a7f677aa96 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 8 Dec 2017 13:53:12 -0500 Subject: [PATCH] Mark toplevel nodes affected by template expansion This allows for debugging expansions, which are otherwise confusing and difficult. This will be valuable information for the Summary Pages as well (see future commit). * src/current/include/preproc/template.xsl (preproc:expand-template): Mark toplevel nodes after expansion. (preproc:mark-tpl-expansion): Add templates. --- src/current/include/preproc/template.xsl | 60 +++++++++++++++++++----- 1 file changed, 48 insertions(+), 12 deletions(-) diff --git a/src/current/include/preproc/template.xsl b/src/current/include/preproc/template.xsl index 0b6d2486..7e80f599 100644 --- a/src/current/include/preproc/template.xsl +++ b/src/current/include/preproc/template.xsl @@ -2,7 +2,7 @@ - + + - - - + + + - - + + + + + + @@ -328,6 +336,34 @@ + + + + + + + + + + + + + + + + + +