OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] xinclude ...... of plain text?


Rowland, Larry wrote:
> The xinclude syntax includes a parse attribute that indicates whether to treat as XML or text.  A programlisting is designed for displaying files such as configuration files.  Not sure if that is exactly what you were looking for.
> 
> Larry Rowland 


Thanks Larry. RTFM was my real advice! v5 documentation tells me about it.

As an alternative to using the textinsert element, consider using an 
Xinclude element with the parse="text" attribute and value specified, as 
detailed in DocBook XSL: TCG, Using XInclude for text inclusions.

So

<literallayout>
  <xi:include parse="text"
        href="build.properties" >
  <xi:fallback>
     <para><emphasis>FIXME:  MISSING XINCLUDE CONTENT - 
build.properties</emphasis></para>
   </xi:fallback>
   </xi:include>
</literallayout>



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]