[oXygen-user] automatically add a signature comment on new xquery and xslt files

Oxygen XML Editor Support (Adrian Buza)
Wed Dec 3 08:43:46 CST 2014


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

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
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20141203/84833c48/attachment.html>


More information about the oXygen-user mailing list