Edit - Generate documentation in XSLT

Here should go questions about transforming XML with XSLT and FOP.
DanielCDS
Posts: 7

Edit - Generate documentation in XSLT

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: 327
Location: Craiova

Re: Edit - Generate documentation in XSLT

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

Re: Edit - Generate documentation in XSLT

Wed Aug 03, 2016 9:14 am

Thank you for your answer Radu.

Radu iti multumesc pentru raspuns :).

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest