create default stylesheet

Oxygen general issues.
feickertmd
Posts: 12
Joined: Tue Nov 23, 2010 8:00 pm

create default stylesheet

Post by feickertmd »

Is it possible to configure the tool so that whenever I choose to create a new stylesheet, certain namespaces and schema associations automatically are inserted? I work with HL7, and it's easy to forget to add those in every time (plus, it's more work). What I'd like to do is choose to open a new stylesheet and have all of that already populated for me.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: create default stylesheet

Post by adrian »

Hello,

You can create your own stylesheet templates and place them in the templates directory:
1. Adjust the stylesheet (add namespaces, etc) that you want to become your template, save it to a file with an appropriate name.
2. Copy the file (use Windows Explorer, Finder, etc) to the templates directory from the Oxygen installation directory. e.g. C:\Program Files (x86)\Oxygen XML Editor 14\templates
3. In Oxygen: File > New (or press the New toolbar button and you should find your template there.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply