From 2111d89324e10140fa3e80166e37e0a31543e0e8 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Mon, 21 Sep 2009 13:31:25 +0200 Subject: Correct conditional generation of Devhelp chapters * util/tagfile-to-devhelp2.xsl (chapters): Assign node sets to the intermediate variables using the select attribute, rather than trying to apply the templates in the element content. With this change, the test whether there are any child elements now correctly evaluates to false if the node set is empty. --- util/tagfile-to-devhelp2.xsl | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'util') diff --git a/util/tagfile-to-devhelp2.xsl b/util/tagfile-to-devhelp2.xsl index f834051..67b64da 100644 --- a/util/tagfile-to-devhelp2.xsl +++ b/util/tagfile-to-devhelp2.xsl @@ -29,36 +29,28 @@ - - - - - + - + + + - - - - - - + - + + + - - - - - - + - + + + -- cgit v1.2.1