xsl variable auto complete - improvement suggestion

Are you missing a feature? Request its implementation here.
Radu3000
Posts: 11
Joined: Mon Jul 30, 2007 6:19 pm
Location: Charlotte, NC USA

xsl variable auto complete - improvement suggestion

Post by Radu3000 »

Hello,

I just got back into xslt after a lengthy break. Here is a suggestion that may save some time (in my case a few hours of debugging) - especially when one starts xslt from scratch:

Change the xsl:var auto-complete from:
<xsl:variable name=""></xsl:variable>
to
<xsl:variable name="" select="">

The second one is used - I would say in over 80% cases - based on my experience.

- Can I do it myself by changing some oxygen template?

Thanks,
Radu.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: xsl variable auto complete - improvement suggestion

Post by sorin_ristache »

Hello,

The select attribute is not a required attribute of xsl:variable. We cannot insert it when the name attribute is inserted because that can confuse the users about the required and not required attributes. They will think that the name attribute must be always specified which is not true.


Regards,
Sorin
kennedyusa058
Posts: 1
Joined: Fri Jun 19, 2009 12:24 pm

Re: xsl variable auto complete - improvement suggestion

Post by kennedyusa058 »

This is an interesting discussion.. thank you for sharing.

pret auto
Post Reply