Re: DOCBOOK: inserting an external source code example into xml docbook

From
Jirka Kosek <>
Date
2002-04-03T07:44:24+00:00
ID
Thread
Re: DOCBOOK: inserting an external source code example into xml docbook
Lorenzo Delana wrote:

> <!ENTITY example01 SYSTEM "example01.txt">
> 
> <para>
>         <example>
>                 <title>a little example</title>
>         &example01;
>         </example>
> </para>

You can use following construct which is handled by both DSSSL and XSL
stylesheets (you must set parameter use.extensions=1 when using XSL
ones):

<programlisting><inlinegraphic
fileref="example.txt" format="linespecific"/></programlisting>

				Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: 
  http://www.kosek.cz