Page 1 of 1

XSLT Completion under Eclipse

Posted: Mon May 19, 2008 5:57 pm
by mphare
I'm using Oxygen 9.2.

When editing XSLTs in Eclipse, sometimes I do not get the first attribute to complete.

What I mean is, I type in:

'<xsl:value-of s'
or
<xsl:apply-templates s'

and it doesn't complete 'select' for the letter 's'.

It did complete 'value-of' from the letter 'v'
or the 'apply-templates' from the 'a'

Subsequent attribute will complete, like 'mode' for 'm' on the apply-tempplates.

As far as I can tell everything completes under the Oxygen IDE.

Re: XSLT Completion under Eclipse

Posted: Tue May 20, 2008 5:40 pm
by sorin_ristache
Hello,

Do you mean that you type '<xsl:value-of' and when the list of attributes of xsl:value-of is visible (select, disable-output-escaping, xml:base, xml:lang, xml:space) you type 's' and the list is not reduced to one attribute name (select)? The same for xsl:apply-templates: do you type '<xsl:apply-templates' and when the list of attributes is visible you type 's' and the list is not reduced to one entry (select)? I cannot reproduce that in an XSLT stylesheet edited with the Oxygen plugin.


Regards,
Sorin

Re: XSLT Completion under Eclipse

Posted: Wed May 21, 2008 12:45 am
by mphare
No, I don't get the list at all. Typing 's' just puts in an 's'.

Re: XSLT Completion under Eclipse

Posted: Wed May 21, 2008 9:39 am
by sorin_ristache
Yes, it puts just an 's' in the editor at the cursor position, but the list of attributes in the content completion window is reduced to one item: select. Does the content completion window contain before you press 's' the following list of attribute names for xsl:apply-templates: mode, select, xml:base, xml:lang, xml:space? What attribute names does the content completion contain after you press 's'? What is your platform (name and version), your Eclipse build number and your Oxygen plugin build number?


Regards,
Sorin