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: DOCBOOK: Re: Inserting raw HTML


> 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.



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


Powered by eList eXpress LLC