Subject:auto create variable for literals and others Author:ad van der ende Date:21 Jun 2006 07:20 AM
Hi,
I have been missing a feature in xslt editing, when I see a literal or other item to be configurable, I would like to select the item and select via a context menu a snippet that makes a code snippet from the selected item.
Like :
<xsl:if test="tag='2222'">
I suggest : select the '2222' and a context menu provides me with for example "make Variable". The result will be:
<xsl:variable name="two" select="'2222'"/>
<xsl:if test="tag=$two">
Also context menu's "surround with choose" like selecting some statements and have a xsl:choose surrounded.