Next in thread → Next in month →

RE: [docbook-apps] Docbook 4 to 5 conversion issues

From
Mauritz Jeanson <>
Date
2010-08-11T10:34:00+00:00
ID
A5411ED08054426485F0A961EF278F19@D7MZ171J
Thread
RE: [docbook-apps] Docbook 4 to 5 conversion issues
|  -----Original Message-----
|  From: Iwan Aucamp 
|
|  I would really like to not have this happen and retain order 
|  of the nodes so indentation stays where I put it originally.
|  
|  So my question is - how would I go about fixing this, 
|  without changing too much of the style sheet ?


I think it would be quite hard to get every bit of whitespace to appear
exactly where you want it. But the following might help a little. Add

 <xsl:apply-templates select="text()[preceding-sibling::title][1]"/>

immediately before 

 <xsl:apply-templates select="title" mode="copy"/>

You could also try a pretty-printer such as xmlformat
(http://www.kitebird.com/software/xmlformat/).

Mauritz
Next in thread → Next in month →