From efff220fe3182572c4026d2e541bdcac44e9297e Mon Sep 17 00:00:00 2001 From: adrien Date: Sun, 13 Oct 2024 07:29:16 +0200 Subject: [PATCH] pass inputs with recursive template --- stylesheet.xsl | 86 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 76 insertions(+), 10 deletions(-) diff --git a/stylesheet.xsl b/stylesheet.xsl index 78ae2c0..afddd6d 100755 --- a/stylesheet.xsl +++ b/stylesheet.xsl @@ -15,7 +15,7 @@ - + @@ -23,9 +23,7 @@ - - - + @@ -34,7 +32,7 @@ <xsl:text>lanScan - </xsl:text> <xsl:choose> - <xsl:when test="$name"><xsl:value-of select="$name"/></xsl:when> + <xsl:when test="string-length($name)"><xsl:value-of select="$name"/></xsl:when> <xsl:otherwise><xsl:value-of select="$targets"/></xsl:otherwise> </xsl:choose> @@ -55,7 +53,7 @@