Re: [docbook] Re: line break

From
Gerrit <>
Date
2004-04-18T21:15:06+00:00
ID
Thread
Re: [docbook] Re: line break
Yoshihiro Toda schreef:
> Inserting <br> in DocBook always needs some way round.
> You can slightly modify XSL stylesheet, "inline.xsl" like:
> 
> <!-- code starts here -->
[cut code]
> 
> I just added "<xsl:if test="@role='dialog'"><br/></xsl:if>". You can insert
> this simply in your XSL customisation layer. Now if you markup a dialog like
> "...he said <quote role="dialog">...</quote>", then <br> (converted from
>   <br/>) is put before the quote.

Thanks!
This only works for HTML, I guess, not for printed content...

Thanks for your help! I'll try it out tomorrow and dive into xslt a bit.
Although it seems not to be something one can grab in a couple of
hours... ;-)

Gerrit.

-- 
Weather in Twenthe, Netherlands 18/04 21:55:
	11.0°C   wind 4.0 m/s SSE (57 m above NAP)
-- 
Ervaringen met het Syndroom van Asperger:
	http://topjaklont.student.utwente.nl
Socialistische Partij:
	http://www.sp.nl/