Page 1 of 1

Edit - Generate documentation in XSLT

Posted: Mon Aug 01, 2016 12:34 pm
by DanielCDS
How can be edited the documentation output in XSLT?
The standard is :

Code: Select all


	<xd:doc>
<xd:desc>
<xd:p></xd:p>
</xd:desc>
</xd:doc>

and i want to display:

Code: Select all


	<xd:doc>
<xd:desc>
<xd:p>===== =====</xd:p>
</xd:desc>
</xd:doc>
but i can't found where to edit the template for this.

Re: Edit - Generate documentation in XSLT

Posted: Tue Aug 02, 2016 11:47 am
by radu_pisoi
Hi,

I understand that you want to customize the fragment inserted by the 'Add component documentation' action. Unfortunately, there is no template that you can modify to change the fragment inserted by the action.

A workaround is add a code template for the XSL editor with the fragment you want to insert. After that, to insert a Code Template, put caret before an XSLT component and press the CTRL + space shortcut. This action will display all the available code templates.
https://www.oxygenxml.com/doc/versions/ ... lates.html

Re: Edit - Generate documentation in XSLT

Posted: Wed Aug 03, 2016 9:14 am
by DanielCDS
Thank you for your answer Radu.

Radu iti multumesc pentru raspuns :).