Page 1 of 1

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

Posted: Mon Mar 26, 2018 3:53 pm
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.

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

Posted: Tue Mar 27, 2018 8:17 am
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

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

Posted: Mon Jun 18, 2018 3:27 pm
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