
Hi, I'd like to create a new template for XSLT stylesheets (with additional namespace bindings, license notes, etc.) As far as I've seen, file templates are configured via the Document Type Associations. So I'd like to be sure that creating such an association for XSLT stylesheets won't break anything in my install before taking that path... Is it the way to follow? Regards, -- Florent Georges http://www.fgeorges.org/

Hi Florent, There is also an entry in the options for global templates, see Options->Preferences -- Editor -- Templates -- Document Templates. Note that there are a couple of variables available there, for instance if you define an entry as ${pd}/templates then the templates subfolder from the project directory will be considered as a folder containing templates. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Florent Georges wrote:
Hi,
I'd like to create a new template for XSLT stylesheets (with additional namespace bindings, license notes, etc.) As far as I've seen, file templates are configured via the Document Type Associations. So I'd like to be sure that creating such an association for XSLT stylesheets won't break anything in my install before taking that path...
Is it the way to follow?
Regards,

George Cristian Bina wrote:
There is also an entry in the options for global templates, see Options->Preferences -- Editor -- Templates -- Document Templates.
Oh, missed that one. I should have found it using the preferences search box. Exactly what I was looking for.
Note that there are a couple of variables available there, for instance if you define an entry as
${pd}/templates
then the templates subfolder from the project directory will be considered as a folder containing templates.
I can see the interest to make templates with license info and stuff... :-) Thanks, regards, -- Florent Georges http://www.fgeorges.org/
participants (2)
-
Florent Georges
-
George Cristian Bina