Re: (dsssl) character repertoire?

Subject: Re: (dsssl) character repertoire?
From: Tim McDaniel <tmcd@xxxxxxxxx>
Date: Tue, 1 Apr 2003 20:28:19 -0600 (CST)
On Tue, 1 Apr 2003, Christopher R. Maden <crism@xxxxxxxxx> wrote:
> Backslash is the escape character for DSSSL (as for many other
> programming languages).
> So a string "\\" represents a single literal backslash.

Thanks.  That indeed works.  I'm a bit surprised, because \ is a
little different in Jade/DSSSL compared to, say, C++: "\n" and "\
" and such don't work, for example.

also works to produce \ in a string.

does not; for example,
    (element loar (literal (debug "HERE IS &#92; ***")))
("loar" happens to be the top-level element in my structure) produces
    jade:./loar.dsl:1340:30:E: unknown character name " ***"
That's the exact same message you get from
    (element loar (literal (debug "HERE IS \ ***")))
Since a DSSSL program is SGML input, "&#92;" is getting translated to
"\" pretty early, before DSSSL sees it.

Tim McDaniel (home); Reply-To: tmcd@xxxxxxxxx; work is tmcd@xxxxxxxxxxx

 DSSSList info and archive:

Current Thread