Image with for topic headings

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

Image with for topic headings

Post by josecotes » 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: 352
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Image with for topic headings

Post by radu_pisoi » 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: 21
Joined: Wed Nov 18, 2015 6:43 pm

Re: Image with for topic headings

Post by josecotes » Thu Dec 03, 2015 11:57 pm

Hi there,

This will be for PDF output using FO.

Thanks,

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

Re: Image with for topic headings

Post by radu_pisoi » 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: 21
Joined: Wed Nov 18, 2015 6:43 pm

Re: Image with for topic headings

Post by josecotes » 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: 352
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Image with for topic headings

Post by radu_pisoi » 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

Post Reply