Re: Allowed characters in element id's

Subject: Re: Allowed characters in element id's
From: Henry Thompson <ht@xxxxxxxxxxxxxxx>
Date: 30 Apr 1998 16:43:28 +0100
Bill Raynor <braynor@xxxxxxx> writes:

> How do I determine what's allowed in an id= attribute? I'd like to use
> underscores and periods but jade gets upset about extraneous punctuation
> marks in the id. I'm generating the sgml from another system and would
> like to take give the elements an easy to read name.

Depends on exactly what version of jade you're using, and whether
you're using XML or not.  Vanilla jade supports the SGML reference
concrete syntax, which allows hyphen and full-stop in names, but not
underscore.  Recent distributions of jade include support for XML,
which is only complete if you use xml.dcl as distributed with jade.
This adds underscore as a name character.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@xxxxxxxxxxxxxxx
		     URL: http://www.ltg.ed.ac.uk/~ht/


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


Current Thread
  • Allowed characters in element id's
    • Bill Raynor - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA23976Thu, 30 Apr 1998 11:19:37 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA24496Thu, 30 Apr 1998 11:41:50 -0400 (EDT)
        • Bill Raynor - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA25255Thu, 30 Apr 1998 12:00:16 -0400 (EDT)
      • Henry Thompson - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA24863Thu, 30 Apr 1998 11:50:37 -0400 (EDT) <=
      • Chuck Darney - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA25493Thu, 30 Apr 1998 12:08:36 -0400 (EDT)
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA26656Thu, 30 Apr 1998 12:46:46 -0400 (EDT)
        • Bill Raynor - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA27831Thu, 30 Apr 1998 13:51:15 -0400 (EDT)
      • <Possible follow-ups>
      • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA25492Thu, 30 Apr 1998 12:08:35 -0400 (EDT)