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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: How to include a file?

ben wrote:

> I want to include a file, whose name is defined by a variable. I've
> tried the following:
> <xsl:include href="{$filename}"/>

Wouldn't you mean including file in DocBook source? <xsl:include>
instruction is suitable for splitting stylesheet code into several
separate files. You can not use varibale reference there, because href
attribute is not AVT.

If you want include listing of external file in DocBook document you can
use following dirty trick:

<programlisting><inlinegraphic format="linespecific"

In a future more cleaner way using XInclude would be possible. 

  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz

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

Powered by eList eXpress LLC