Image with for topic headings

Here should go questions about transforming XML with XSLT and FOP.
josecotes
Posts: 19

Image with for topic headings

Mon Nov 23, 2015 12:08 am

Hi there,

Is it possible to add an image -align left- in the topic heading for a particular level. I.e.:

-- topic
Content
-- topic.topic
Content
-- image topic.topic.topic
Content
-- topic.topic

As you can see I don't want to add the image to all the topic headings, but just to the ones that are topic.topic.topic.

Eventually I'd like to probably add different image for each level of topic.

Thanks in advanced for any help.
radu_pisoi
Posts: 327
Location: Craiova

Re: Image with for topic headings

Mon Nov 23, 2015 2:47 pm

Hi,

Could you tell us what type of DITA-OT output you want to customize? PDF, Webhelp, XHTML?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
josecotes
Posts: 19

Re: Image with for topic headings

Thu Dec 03, 2015 11:57 pm

Hi there,

This will be for PDF output using FO.

Thanks,
radu_pisoi
Posts: 327
Location: Craiova

Re: Image with for topic headings

Fri Dec 04, 2015 3:24 pm

Hi,

Could you give us more details about your customization?

Do you want to add an image in the left part of the topic's title?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
josecotes
Posts: 19

Re: Image with for topic headings

Wed Dec 09, 2015 7:01 pm

Hi Radu,

This is what I intended to do:

Image

I was able to figure it out with the help of a couple of books. Here is where I started, directly adding the graphic in the TOC generator sequence:

https://books.google.com/books?id=-pO-E ... ge&f=false
radu_pisoi
Posts: 327
Location: Craiova

Re: Image with for topic headings

Thu Dec 10, 2015 5:11 pm

Hi,

I'm glad to hear that you find a solution.

In order to help other people with the same problem, could you share with us your customization?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest