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

Are you missing a feature? Request its implementation here.
Martin Honnen
Posts: 96
Joined: Tue Aug 19, 2014 12:04 pm

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

Post by Martin Honnen »

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: 9049
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

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: 9049
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

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