Next in thread → Next in month →

Re: [docbook] indent of first line when using xinclude

From
Jirka Kosek <>
Date
2008-08-05T20:51:34+00:00
ID
Thread
Re: [docbook] indent of first line when using xinclude
Andreas Peter wrote:

> when I include source code using XInclude the first line has an indent. 
> I need a flush. Is there a possible solution for this?

You probably have whitespace before <xi:include> element and this 
whitespace is preserved in "verbatim" elements like programlisting. Use 
something like:

<programlisting><xi:include .../></programlisting>

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
        Professional XML consulting and training services
   DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
  OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
Next in thread → Next in month →