[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Inserting SGML comments with $html-body-start$
On Dec 04, 2000, Norman Walsh <ndw@nwalsh.com> wrote: > > / "John R. Sheets" <dusk@ravendusk.org> was heard to say: > | (define ($html-body-start$) > | (literal "<!-- #include file=\"header.html\" -->")) > | > | I obviously don't want the server-side #include to show up if the file > | is viewed directly, but the stylesheet seems to totally ignore the > | comment, inserting nothing at all. If I change the "<!--" to a > > Well, that's because the stylesheets are SGML documents, so what Jade > sees is: Heheh, oops, yeah, forgot about that. > Try this: > > (define ($html-body-start$) > (make sequence > (make formatting-instruction data: "<!--") > (literal "#include file=\"header.html\"")) > (make formatting-instruction data: "-->"))) Great, thanks Norm! That did it. John -- dusk@ravendusk.org http://www.gnome.org jsheets@codeweavers.com http://www.worldforge.org jsheets@users.sourceforge.net http://openbooks.sourceforge.net http://advogato.org/person/jsheets
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC