Re: [docbook-apps] RE: [docbook] external examples

From
Jirka Kosek <>
Date
2003-04-14T12:57:40+00:00
ID
Thread
Re: [docbook-apps] RE: [docbook] external examples
Jeff Beal wrote:
> [moving to docbook-apps]
> If you're using Saxon or Xalan as your XSLT processor, you can use
> 
> <programlisting>
>  <mediaobject>
>   <imageobject>
>    <imagedata fileref="yourfile.html" format="linespecific"/>
>   </imageobject>
>  </mediaobject>
> </programlisting>
> 
> And turn on the textinsert extension (use.extensions=1;
> textinsert.extension=1).  (You'll need to add the appropriate extensions JAR
> file to your CLASSPATH.)
> 
> If you're using XSLTProc as your XSLT processor, you can use XInclude with
> parse="text".  (I haven't tested this one.)
> 
> <xi:include href="yourfile.html" parse="text"/>
> 
> I don't know of any solutions if you're using DSSSL

Former example is also supported by DSSSL stylesheets and (Open)Jade. 
You can use even XIncludes with DSSSL, but you must evaluate XIncludes 
by xmllint before feeding XML file to Jade.

				Jirka

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