Image with for topic headings

Here should go questions about transforming XML with XSLT and FOP.
josecotes
Posts: 23
Joined: Wed Nov 18, 2015 6:43 pm

Image with for topic headings

Post by josecotes »

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: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Image with for topic headings

Post by radu_pisoi »

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: 23
Joined: Wed Nov 18, 2015 6:43 pm

Re: Image with for topic headings

Post by josecotes »

Hi there,

This will be for PDF output using FO.

Thanks,
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Image with for topic headings

Post by radu_pisoi »

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: 23
Joined: Wed Nov 18, 2015 6:43 pm

Re: Image with for topic headings

Post by josecotes »

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: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Image with for topic headings

Post by radu_pisoi »

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
Post Reply