Edit - Generate documentation in XSLT

Here should go questions about transforming XML with XSLT and FOP.
DanielCDS
Posts: 7
Joined: Fri Apr 22, 2016 3:44 pm

Edit - Generate documentation in XSLT

Post 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.
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Edit - Generate documentation in XSLT

Post 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
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
DanielCDS
Posts: 7
Joined: Fri Apr 22, 2016 3:44 pm

Re: Edit - Generate documentation in XSLT

Post by DanielCDS »

Thank you for your answer Radu.

Radu iti multumesc pentru raspuns :).
Post Reply