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 » Mon Aug 01, 2016 12:34 pm

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: 375
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Edit - Generate documentation in XSLT

Post by radu_pisoi » Tue Aug 02, 2016 11:47 am

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 » Wed Aug 03, 2016 9:14 am

Thank you for your answer Radu.

Radu iti multumesc pentru raspuns :).

Post Reply