Re: read-entity, is there any example or use explication?

Subject: Re: read-entity, is there any example or use explication?
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Thu, 3 Sep 1998 12:24:24 -0400 (EDT)
At 3 Sep 1998 10:40 -0400, Norman Walsh wrote:
 > Check.  If "&#RE;" is the newline as a string, what's the newline as a
 > character?

Eliot provided that: #\&#RE;

See section 8.5.8 of the DSSSL standard.

You know this already, but outside of strings, characters are written
as "#\" followed by either the character itself or the character name.
By the time the DSSSL engine sees it, #\&#RE; is "#\" followed by a
CARRIAGE RETURN character (provided that's what the SGML Declaration
says to use for the RE function).

Jade maps many character names to characters but, as you noted
previously, it doesn't support #\carriage-return.  With 38,885 in
Unicode 2.0, it's not surprising that there's holes.

You can also use #\U-000D (as noted by David Pawson), or #\&#13; (if
you really don't trust your SGML Declaration to use CARRIAGE RETURN
for the RE function).

Regards,


Tony Graham
======================================================================
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • read-entity, is there any example or use explication?
    • miguel . mata - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id EAA04085Thu, 3 Sep 1998 04:52:12 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA05960Thu, 3 Sep 1998 06:42:21 -0400 (EDT)
        • James Clark - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA06733Thu, 3 Sep 1998 07:21:39 -0400 (EDT)
          • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA19305Thu, 3 Sep 1998 10:44:16 -0400 (EDT)
          • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA29505Thu, 3 Sep 1998 12:33:29 -0400 (EDT) <=
          • Russell Steven Shawn O'Connor - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA12102Fri, 4 Sep 1998 10:33:37 -0400 (EDT)
          • Russell Steven Shawn O'Connor - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA12181Fri, 4 Sep 1998 10:36:00 -0400 (EDT)
        • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA15434Thu, 3 Sep 1998 09:57:42 -0400 (EDT)
          • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA18553Thu, 3 Sep 1998 10:27:32 -0400 (EDT)