Re: [dssslist] Character entities in DSSSL stylesheet

Subject: Re: [dssslist] Character entities in DSSSL stylesheet
From: Karl Eichwalder <ke@xxxxxxxxxxxxxx>
Date: Sat, 03 Jul 2004 06:12:52 +0200
Karl Eichwalder <ke@xxxxxxxxxxxxxx> writes:

> daniel lance herrick <dan.herrick@xxxxxxxxxxxxxxxx> writes:

>> You may need to do it functionally, "emit"ing the
>> literal text you want in your output.

I guess now I understand you a little bit better.  Paul Tyson and Tony
Graham answered a similar question in August 2001; e.g.,:

-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-

From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxx>
Subject: Re: create an external ENTITY in DOCTYPE
To: dssslist@xxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 29 Aug 2001 18:57:31 +0100
Reply-To: dssslist@xxxxxxxxxxxxxxxxxxxxxx

Lutz Pliske wrote at 29 Aug 2001 18:11:36 +0200:
 > Does somebody know how I can get the entites inside of the doctype?

Use the formatting-instruction flow object class.

You will find useful hints in the DSSSList archive.  See, for example,
http://www.biglist.com/lists/dssslist/archives/199803/msg00031.html

-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-

Now I use this code to push the offending strings thru the engine (for
readability I broke the string into more pieces than required):

(define (script-block)
  (make element gi: "script"
	attributes: '(("language" "JavaScript")
		      ("type" "text/javascript"))
	(make formatting-instruction
	  data: (string-append "<" "!-- 
function newImgWindow(windowURL)
{
newFeatures='"
"toolbar=0,status=0,location=0,directories=0,"
"menubar=0,scrollbars=1,resizable=1,width=600,height=840,top=0,left=640"
"';
nwWin=window.open(windowURL,'viewWindow',newFeatures);
}
// --" ">"))))

-- 
                                                         |      ,__o
                                                         |    _-\_<,
http://www.gnu.franken.de/ke/                            |   (*)/'(*)

Current Thread