XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
ad van der endeSubject: 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.

Do you get it?

Posttop
Minollo I.Subject: auto create variable for literals and others
Author: Minollo I.
Date: 21 Jun 2006 08:58 AM
Thanks for the suggestion; I believe it makes a lot of sense.

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.