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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: 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: jirka@kosek.cz
  http://www.kosek.cz


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


Powered by eList eXpress LLC