xsl variable containing '.' autocompletion
Posted: Thu Apr 27, 2006 2:05 pm
Hello,
When editing XSLT source code (1.0) with the standalone editor (7.1 build 2006030214), and trying to manipulate parameters/variables whose name contain '.':
after $my. the autocompletion no more work, I mean it is providing the default xpath autocompletion list (name, ancestor-or-self:: ...) but not the list of params/variables starting with my. .
Is there any config I can change in order to let the . be considered as part of the variable name?
Thanks a lot for your great product!
Sylvain
When editing XSLT source code (1.0) with the standalone editor (7.1 build 2006030214), and trying to manipulate parameters/variables whose name contain '.':
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<xsl:call-template name="test">
<xsl:with-param name="my.test.param.1" select="'1'"/>
<xsl:with-param name="my.test.param.2" select="'2'"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="test">
<xsl:param name="my.test.param.1"/>
<xsl:param name="my.test.param.2"/>
<test>
<xsl:value-of select="concat($my.test.param.1, '-', $my.)"/>
</test>
</xsl:template>
</xsl:stylesheet>
Is there any config I can change in order to let the . be considered as part of the variable name?
Thanks a lot for your great product!
Sylvain