This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Inserting raw HTML
- From: Gre7g Luterman <gre7g at wolfhome dot com>
- To: DocBook List <docbook at lists dot oasis-open dot org>
- Date: Tue, 26 Mar 2002 13:44:58 -0600
- Subject: DOCBOOK: Re: Inserting raw HTML
- References: <3CA071A0.30064.14FCDAE1@localhost>
> Yes, but the'll be a little harder. The include-file function
> (in dblib.dsl), ends with
>
> (literal somevariable)
>
> What you want is another version of include-file that doesn't put a
> literal wrapper around the result. Then I think it'll be acceptable
> for the data: characteristic of formatting-instruction.
Gotcha! Thanks tons. I'm gonna' archive off this solution in case I
need it later. With a bit of experimentation, I found I could also
use:
(make empty-element gi: "% include('layout/header.php'); %")
And then do my actual including in the PHP preprocessor. Yeah, it's
a bit of a hack, BUT it lets me do some neat things like changing the
behavior of the header based on URL.
Not to pat myself on the back too hard, but I think the end result
came out really stunning. If you have a moment, take a peek at:
http://djbdns.wolfhome.com/
You may note that I shrink the wrapper down on following pages to
leave more room for document.
Thanks again!
Gre7g.
=================================================================
Gre7g Luterman gre7g@wolfhome.com http://www.templeofluna.com/
Stay informed: http://www.templeofluna.com/keeper/mailinglist.htm
Please make sure all emotional baggage is stowed securely in the
overhead compartment or underneath the seat in front of you.