This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]