xsl:template name="xsl:initial-template" completion/suggestion

Are you missing a feature? Request it's implementation here.
Martin Honnen
Posts: 49
Joined: Tue Aug 19, 2014 12:04 pm

xsl:template name="xsl:initial-template" completion/suggestion

Post by Martin Honnen » Mon Mar 26, 2018 3:53 pm

Now that oXygen 20 uses Saxon 9.8 with XSLT 3 support as the default XSLT engine it might be nice to have any

Code: Select all

<xsl:template name="xsl:
or maybe only

Code: Select all

<xsl:template name="xsl:i
autocompleted/suggested as

Code: Select all

<xsl:template name="xsl:initial-template"
as that is now the default name for called template stylesheet invocation https://www.w3.org/TR/xslt-30/#invoking ... l-template so when editing XSLT 3 I keep finding me to have to type that a lot, it seems the oXygen editor could help with that.

Radu
Posts: 6138
Joined: Fri Jul 09, 2004 5:18 pm

Re: xsl:template name="xsl:initial-template" completion/suggestion

Post by Radu » Tue Mar 27, 2018 8:17 am

Hi Martin,

Good idea, I'll register an internal issue for it. In the meantime maybe you can add a code template in the Oxygen Preferences->"Editor / Templates / Code Templates" which inserts an entire initial template.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Radu
Posts: 6138
Joined: Fri Jul 09, 2004 5:18 pm

Re: xsl:template name="xsl:initial-template" completion/suggestion

Post by Radu » Mon Jun 18, 2018 3:27 pm

Hi,

Just to update this forum thread, Oxygen 20.1 should have an improvement automatically proposing the xsl:initial-template in the content completion window.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply