How to remove xd:doc from a newly created XSL document

Oxygen general issues.
tangst
Posts: 5
Joined: Thu Jun 19, 2008 2:12 am

How to remove xd:doc from a newly created XSL document

Post by tangst »

I noticed that every time I create a new XSL document, this documentation tag is put in.

<xd:doc xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" scope="stylesheet">
<xd:desc>
<xd:p><xd:b>Created on:</xd:b> </xd:p>
<xd:p><xd:b>Author:</xd:b></xd:p>
<xd:p></xd:p>
</xd:desc>
</xd:doc>

Is there anyway to tell OxygenXML to stop doing this? I don't have a need for this functionality right now, so it would be nice to be able to change this. Thank you for reading.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: How to remove xd:doc from a newly created XSL document

Post by adrian »

Hello,

When you create a new stylesheet(File -> New -> XSLT Stylesheet), instead of "Create", press "Customize >". This will allow you change the stylesheet version and also disable the stylesheet documentation("Generate stylesheet documentation"). You only have to do this once, these options will be remembered as the default the next time if you press directly "Create".

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
tangst
Posts: 5
Joined: Thu Jun 19, 2008 2:12 am

Re: How to remove xd:doc from a newly created XSL document

Post by tangst »

Adrian,
Thank you for your prompt reply. I have re-configured my OxygenXML editor now.
Post Reply