Page 1 of 1

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

Posted: Sun Nov 14, 2010 8:50 pm
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.

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

Posted: Mon Nov 15, 2010 12:41 pm
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

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

Posted: Tue Nov 16, 2010 5:26 am
by tangst
Adrian,
Thank you for your prompt reply. I have re-configured my OxygenXML editor now.