Re: Conditional masters/layouts for
- Hi Martin,
What I would suggest here is different ditamaps for each level. Within
each map, you may want to set an outputclass attribute on each
topicref where you want your layout to take place. Then you write an
XSLT to perform the formatting you require. I'll leave the details for
you. Best way to learn is to experiment.
Julio J. Vazquez
--- In firstname.lastname@example.org, "martin.jonasson"
> I'm fairly new to costumizing DITA. What I want to do:
> The manual has several different levels/chapters. Each level contains
> of different tasks. I want different layout depending on what chapter
> the task is part of. For instance, I want Level 1 pages to have a blue
> picture to the left of the body text(and level 2 a red one). You could
> see it as several smaller manuals with similar content(but different
> difficulcy) put together to one:
> Level 1
> Level 2
> Is this possible without using customization of elements? My first try
> was to get a conditional processing of the XSL-FO(based on some
> variable in the map/topic).But I'm so new to the DITA-OT/XSL-FO I
> really don't know where to start of if this is the way to go.
> Any thoughts?
> //Martin Jonasson