Moving frames in WepHelp outpout
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Thu Mar 13, 2014 6:55 pm
Moving frames in WepHelp outpout
Hi There,
I am using Oxygen 15.1 to create FOP and WebHelp output. I would like to move the sub-section links in the WebHelp output to be under the main section text. How do I do this?
Please advise.
Thanks
I am using Oxygen 15.1 to create FOP and WebHelp output. I would like to move the sub-section links in the WebHelp output to be under the main section text. How do I do this?
Please advise.
Thanks
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Moving frames in WepHelp outpout
Post by sorin_ristache »
Hi,
Do you use the DITA Map Webhelp transformation applied to a DITA map? You did not specify the type of your XML documents that you want to transform to PDF and Webhelp output.
If you edit and transform DITA documents please can you give an example of sub-section links? By sub-section links do you mean the links to child topics, as in the following?
In this case the sub-sections would be the iris.dita and snowdrop.dita references. But the links to these two topics are already located under the text of springFlowers.dita in the Webhelp output.
Regards,
Sorin
Do you use the DITA Map Webhelp transformation applied to a DITA map? You did not specify the type of your XML documents that you want to transform to PDF and Webhelp output.
If you edit and transform DITA documents please can you give an example of sub-section links? By sub-section links do you mean the links to child topics, as in the following?
Code: Select all
<topicref href="concepts/springFlowers.dita">
<topicref href="topics/flowers/iris.dita"/>
<topicref href="topics/flowers/snowdrop.dita"/>
</topicref>
Regards,
Sorin
-
- Posts: 2
- Joined: Thu Mar 13, 2014 6:55 pm
Re: Moving frames in WepHelp output
I am using DobBook and Apache FOP processor. We would now like to output the same content in WebHelp using Ant and the sub-section links on the main frame are above the main section text. For example:
<section><title>Main Section</title>
<para>Main section text</para>
<section><title>Sub-section One</title>
<para>Text</para></section>
<section><title>Sub-section Two</title>
<para>Text</para></section></section>
Looks fine in PDF:
Main Section
Main section text
Sub-section One
Text
Sub-section Two
Text
But looks liks this in WebHelp:
Main Section
Link to Sub-section One
Link to Sub-section Two
Main section text
But I would like it to be this:
Main Section
Main section text
Link to Sub-section One
Link to Sub-section Two
Please advise.
Thanks
<section><title>Main Section</title>
<para>Main section text</para>
<section><title>Sub-section One</title>
<para>Text</para></section>
<section><title>Sub-section Two</title>
<para>Text</para></section></section>
Looks fine in PDF:
Main Section
Main section text
Sub-section One
Text
Sub-section Two
Text
But looks liks this in WebHelp:
Main Section
Link to Sub-section One
Link to Sub-section Two
Main section text
But I would like it to be this:
Main Section
Main section text
Link to Sub-section One
Link to Sub-section Two
Please advise.
Thanks
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Moving frames in WepHelp output
Post by sorin_ristache »
Hello,
The mini Table of Contents in the right side panel containing the links to the sub-sections of teh current section are not really necessary because the links to all the sections and sub-sections of the entire Docbook document are grouped in the left side panel, on the Content tab.
If you really want the mini TOC at the end of the right side panel then the required changes in the Docbook XSLT stylesheets will be major because they go against the current Docbook XSL model. I can tell you where to start modifying the stylesheets for moving the mini TOC to the end of the section but it will surely be a non-trivial task.
Regards,
Sorin
The set of links to sub-sections just below the title in the right side panel is in fact a mini Table of Contents at section level and chapter level, specific for Docbook transformations. You can disable this mini Table of Contents in the right side panel by setting the Docbook parameter called generate.section.toc.level to value 0 in the Docbook Webhelp transformation (on the Parameters tab of the dialog box for editing the Docbook Webhelp transformation).Kolidawn wrote:But looks liks this in WebHelp:
Main Section
Link to Sub-section One
Link to Sub-section Two
Main section text
But I would like it to be this:
Main Section
Main section text
Link to Sub-section One
Link to Sub-section Two
The mini Table of Contents in the right side panel containing the links to the sub-sections of teh current section are not really necessary because the links to all the sections and sub-sections of the entire Docbook document are grouped in the left side panel, on the Content tab.
If you really want the mini TOC at the end of the right side panel then the required changes in the Docbook XSLT stylesheets will be major because they go against the current Docbook XSL model. I can tell you where to start modifying the stylesheets for moving the mini TOC to the end of the section but it will surely be a non-trivial task.
Regards,
Sorin
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