Page 1 of 1

Oxygen docs: "How to Use XSLT Extension Points from a Publishing Template"

Posted: Wed Feb 27, 2019 3:49 am
by mdslup
I'm getting a little lost trying to follow along on this page: ... mport.html

It says
The XSLT stylesheet that generates the main page is located in: DITA-OT-DIR\plugins\com.oxygenxml.webhelp.responsive\xsl\mainFiles\createMainPage.xsl. This XSLT stylesheet declares the copy_template mode that processes the main page template to expand its components. The main page template declares a component for the footer section that looks like this:

<div class=" footer-container text-center ">
<whc:include_html href="${webhelp.fragment.footer}"/>
However, I can not find that code anywhere. When I open up createMainPage.xsl, I see only this:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!--

Oxygen Webhelp plugin
Copyright (c) 1998-2018 Syncro Soft SRL, Romania. All rights reserved.

--><xsl:stylesheet xmlns:xsl="" xmlns:xs="" xmlns:toc="" xmlns:oxygen="" xmlns:index="" exclude-result-prefixes="#all" version="2.0">

<xsl:import href="createMainPageImpl.xsl"/>

XSLT extension point for the stylesheet used to produce the main HTML page
in the Webhelp Responsive transformation.

<!-- WH-1439 xsl/com.oxygenxml.webhelp.xsl.createMainPage extension point -->
<xsl:import xmlns:dita="" href="template:xsl/com.oxygenxml.webhelp.xsl.createMainPage"/>
I don't see any section with a div for the footer container.

Is this doc up to date, or am I just getting lost?

Re: Oxygen docs: "How to Use XSLT Extension Points from a Publishing Template"

Posted: Thu Feb 28, 2019 2:31 pm
by radu_pisoi

The main page HTML template location is DITA-OT-DIR/plugins/com.oxygenxml.webhelp.responsive/oxygen-webhelp/page-templates/wt_index.htm.

More exactly, the div/@class='footer-container' is defined in the footer.xml file from the same folder with wt_index.htm. The footer.xml file is included from wt_index.htm.