[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$
/ "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: (define ($html-body-start$) (literal "")) | Any way around this? If not, I guess I can add a sed post-processing | step to hack in the comments, but I'd much rather keep it simple. I'm | using the 1.57 stylesheets. Try this: (define ($html-body-start$) (make sequence (make formatting-instruction data: "<!--") (literal "#include file=\"header.html\"")) (make formatting-instruction data: "-->"))) Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | The stone fell on the pitcher? Woe http://www.oasis-open.org/docbook/ | to the pitcher. The pitcher fell Chair, DocBook Technical Committee | on the stone? Woe to the | pitcher.--Rabbinic Saying
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC