Re: Allowed characters in element id's

Subject: Re: Allowed characters in element id's
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Thu, 30 Apr 1998 11:00:26 -0700
At 10:13 AM 4/30/98 CDT, Bill Raynor wrote:
>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.

You need a different SGML declaration. Look at xml.dcl in the SP
distribution. XML adds "_" to the name characters. Period is already there.

To make things easy, use the SGMLDECL directive in your catalogs to set the
default SGML declaration, e.g.:

-- Catalog for XML processing --
SGMLDECL xml.dcl

-- End of catalog --

Cheers,

E.
--
<Address HyTime=bibloc>
W. Eliot Kimber, Senior Consulting SGML Engineer
ISOGEN International Corp.
2200 N. Lamar St., Suite 230, Dallas, TX 95202.  214.953.0004
www.isogen.com
</Address>


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


Current Thread
  • Re: Allowed characters in element id's, (continued)
    • 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)
    • 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) <=
    • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA28591Thu, 30 Apr 1998 14:31:11 -0400 (EDT)