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. \reverse-solidus also works to produce \ in a string. \ does not; for example, (element loar (literal (debug "HERE IS \ ***"))) ("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, "\" 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: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: (dsssl) character repertoire?, Christopher R. Maden | Thread | Re: (dsssl) character repertoire?, tmcd |
Re: (dsssl) character repertoire?, Ian Zimmerman | Date | RE: (dsssl) character repertoire?, David . Pawson |
Month |