adding namespace prefix to autocomplete list

Hi, I have been searching for some information (but not found) on how I can add my own prefixes to XSLT editor like the one for xmlns:saxon="http://saxon.sf.net/" where you get the autocomplete alternative xmlns:saxon. This when activating autocomplete in the xsl:stylesheet element attribute list. Looking forward to any help. Regards Erik

Hello Erik, You can create a code template with the value that you want to insert. For example you can create a code template with the value xmlns:myPrefix="http://myNamesapce" and the name "myDeclaration". Then use the shortcut "Ctrl+Shift+Space" to show the code templates in the xsl:stylesheet element and select your code template ("myDeclaration") from the proposals list. You can also set a shortcut for a code template, in case you want to insert it directly without selecting it from the proposals list. For more details see the video demo and our user manual: http://www.oxygenxml.com/demo/Code_Templates.html http://www.oxygenxml.com/doc/versions/17.0/ug-editor/#topics/code-templates.... Best Regards, Octavian -- Octavian Nadolu <oXygen/> XML Editor http://www.oxygenxml.com On 21.07.2015 11:58, Erik Zander wrote:
Hi,
I have been searching for some information (but not found) on how I can add my own prefixes to XSLT editor like the one for xmlns:saxon=”http://saxon.sf.net/” where you get the autocomplete alternative xmlns:saxon. This when activating autocomplete in the xsl:stylesheet element attribute list.
Looking forward to any help.
Regards
Erik
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello Octavian, Allright not exactly what I was looking for but it will work. Thank you for your help Regards Erik -----Ursprungligt meddelande----- Från: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] För Oxygen XML Editor Support (Octavian Nadolu) Skickat: den 21 juli 2015 15:14 Till: oxygen-user@oxygenxml.com Ämne: Re: [oXygen-user] adding namespace prefix to autocomplete list Hello Erik, You can create a code template with the value that you want to insert. For example you can create a code template with the value xmlns:myPrefix="http://myNamesapce" and the name "myDeclaration". Then use the shortcut "Ctrl+Shift+Space" to show the code templates in the xsl:stylesheet element and select your code template ("myDeclaration") from the proposals list. You can also set a shortcut for a code template, in case you want to insert it directly without selecting it from the proposals list. For more details see the video demo and our user manual: http://www.oxygenxml.com/demo/Code_Templates.html http://www.oxygenxml.com/doc/versions/17.0/ug-editor/#topics/code-templates.... Best Regards, Octavian -- Octavian Nadolu <oXygen/> XML Editor http://www.oxygenxml.com On 21.07.2015 11:58, Erik Zander wrote:
Hi,
I have been searching for some information (but not found) on how I can add my own prefixes to XSLT editor like the one for xmlns:saxon="http://saxon.sf.net/" where you get the autocomplete alternative xmlns:saxon. This when activating autocomplete in the xsl:stylesheet element attribute list.
Looking forward to any help.
Regards
Erik
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Erik Zander
-
Oxygen XML Editor Support (Octavian Nadolu)