Disabling XSLT documentation in a new stylesheets

Hi folks, it is possible to modify default template for new XSLT stylesheets. I need to get rid of XSLT documentation stuff there and I wasn't able to find right place to disable it. Thanks, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------

Hi Jirka, The simplest solution is to create a document template (or more) for the stylesheets you want to create. For that just put an XSLT file in a folder and set that as template folder, either in the XSLT framework (Options->Preferences -- Document Type Association, Edit the XSLT framework and add the folder in the Templates tab) or in the global oXygen templates in Options->Preferences -- Editor / Templates / Document Templates. We will consider handling this case also when you create the default XSLT document, eventually in the same dialog where you can select the version 1.0 or 2.0. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 5/4/10 12:40 PM, Jirka Kosek wrote:
Hi folks,
it is possible to modify default template for new XSLT stylesheets. I need to get rid of XSLT documentation stuff there and I wasn't able to find right place to disable it.
Thanks,
Jirka
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

George Cristian Bina wrote:
The simplest solution is to create a document template (or more) for the stylesheets you want to create. For that just put an XSLT file in a folder and set that as template folder, either in the XSLT framework (Options->Preferences -- Document Type Association, Edit the XSLT framework and add the folder in the Templates tab) or in the global oXygen templates in Options->Preferences -- Editor / Templates / Document Templates.
Yes, but then I have to choose template which is quite laborious operation. I'm using oXygen during XSLT course and I'm creating dozen of new simple stylesheets (File->New->XSL Stylesheet) each hour to show answers to question of my students. Documentation elements and namespace are distracting in this case.
We will consider handling this case also when you create the default XSLT document, eventually in the same dialog where you can select the version 1.0 or 2.0.
It would be nice to have ability to switch off documentation artifacts in this dialog. Thanks, Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
participants (2)
-
George Cristian Bina
-
Jirka Kosek