Oxygen docs: "How to Use XSLT Extension Points from a Publishing Template"
Post here questions and problems related to editing and publishing DITA content.
Oxygen docs: "How to Use XSLT Extension Points from a Publishing Template"
I'm getting a little lost trying to follow along on this page: https://www.oxygenxml.com/doc/versions/ ... mport.html
It says
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?
It says
However, I can not find that code anywhere. When I open up createMainPage.xsl, I see only this: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}"/>
</div>
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="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:toc="http://www.oxygenxml.com/ns/webhelp/toc" xmlns:oxygen="http://www.oxygenxml.com/functions" xmlns:index="http://www.oxygenxml.com/ns/webhelp/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="http://dita-ot.sourceforge.net" href="template:xsl/com.oxygenxml.webhelp.xsl.createMainPage"/>
</xsl:stylesheet>
Is this doc up to date, or am I just getting lost?
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Oxygen docs: "How to Use XSLT Extension Points from a Publishing Template"
Post by radu_pisoi »
Hi,
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.
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.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service