Hello Erik,

You can create your own custom XQuery template file that contains your name and the static text.
For the current date you can use an Oxygen editor variable, like this: ${date(yyyy-MM-dd)}
Where 'yyyy-MM-dd' is the date pattern.
You can find all the editor variables documented here:
http://www.oxygenxml.com/doc/ug-editor/index.html#topics/editor-variables.html

To use this template you must give it an appropriate name and place it in the 'templates' folder from the Oxygen installation folder. You can then use it in Oxygen from the File > New dialog under 'Global templates'.

Regards,
Adrian
Adrian Buza
oXygen XML Editor and Author Support

Tel: +1-650-352-1250 ext.2020
Fax: +40-251-461482
support@oxygenxml.com
http://www.oxygenxml.com

On 02.12.2014 16:33, Erik Zander wrote:

Hi list

 

I was wondering if any of you knew how to make oxygen generate a comment at the top of all new xquery and xslt files with my name and some other static text.

If possible and additional benefit would be if also the current date was inserted .

 

Best Regards

Erik



_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-user