rev attribute > What's new topic list

Post here questions and problems related to editing and publishing DITA content.
schelmenzunft
Posts: 5
Joined: Wed Jun 08, 2016 11:47 am

rev attribute > What's new topic list

Post by schelmenzunft »

Greetings,

just beginning to use the ref attribute for flagging new content.

Did anyone manage to create a link list of flagged topics from these so that you can present a "Whats new" topic in the documentation? Is there any support from oXygen doing this?

Best regards,
Franz-Josef
radu_pisoi
Posts: 404
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: rev attribute > What's new topic list

Post by radu_pisoi »

Hi,

Unfortunately, there is no setting that you can activate to automatically generate the What's new section based on the rev attribute.

A solution would be use the oXygen's convert protocol that allows you to generate the What's new section when publishing the DITA map. A dynamic conversion URL chains various processors that can be applied, in sequence, on a target resource. For this case, I think it is enough to use the XSLT processor.

So, you need to:
  • create a topicref that uses the convert protocol. This topic will serve as a placeholder for the generated What's new section

    Code: Select all

    <topicref href="convert:/processor=xslt;ss=urn:processors:convert.xsl!/urn:files:cm.ditamap"/>
  • write an XSLT Stylesheet that processes the current DITA map and generates the What's new section.
You can find more details about convert protocol in our documentation:
http://oxygenxml.com/doc/versions/18.1/ ... sions.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply