Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGreg Torbenson <gregory.torbenson@ryansg.com>2018-05-09 12:07:32 -0400
committerGreg Torbenson <gregory.torbenson@ryansg.com>2018-05-09 12:07:57 -0400
commitf2e3cdf5f7fa6b162de98630ca07969e149f18eb (patch)
tree943c8fa356baa8a3f0a5ebf4744c4a05bb211310 /src
parente764141b71930e04e57a67a9b16461fe62bb3724 (diff)
downloadtame-f2e3cdf5f7fa6b162de98630ca07969e149f18eb.tar.gz
tame-f2e3cdf5f7fa6b162de98630ca07969e149f18eb.tar.bz2
tame-f2e3cdf5f7fa6b162de98630ca07969e149f18eb.zip
Modify valparse to recurse into the RHS.v2.16.0
Diffstat (limited to 'src')
-rw-r--r--src/current/c1map/valparse.xsl19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/current/c1map/valparse.xsl b/src/current/c1map/valparse.xsl
index cd8aba6..e84b25d 100644
--- a/src/current/c1map/valparse.xsl
+++ b/src/current/c1map/valparse.xsl
@@ -61,6 +61,13 @@
<xsl:call-template name="lvmp:gen-val">
<xsl:with-param name="name" select="$val" />
</xsl:call-template>
+ <xsl:if test="$post">
+ <xsl:text> . </xsl:text>
+ <!-- TODO: escape -->
+ <xsl:call-template name="lvm:valparse">
+ <xsl:with-param name="str" select="$post" />
+ </xsl:call-template>
+ </xsl:if>
</xsl:when>
<!-- static value; no variable -->
@@ -68,15 +75,15 @@
<xsl:text>'</xsl:text>
<xsl:value-of select="$str" />
<xsl:text>'</xsl:text>
+ <xsl:if test="$post">
+ <xsl:text> . '</xsl:text>
+ <!-- TODO: escape -->
+ <xsl:value-of select="$post" />
+ <xsl:text>'</xsl:text>
+ </xsl:if>
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="$post">
- <xsl:text> . '</xsl:text>
- <!-- TODO: escape -->
- <xsl:value-of select="$post" />
- <xsl:text>'</xsl:text>
- </xsl:if>
</xsl:template>