RE: underscores in XML tags

Subject: RE: underscores in XML tags
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Wed, 9 Dec 1998 15:20:42 +0100
Thanks (everyone)! I now use the reference to the XML declararation and it
works perfectly.

-----Original Message-----
From: Tony Graham [mailto:tgraham@xxxxxxxxxxxxxxxx]
Sent: Wednesday, December 09, 1998 3:28 AM
To: dssslist@xxxxxxxxxxxxxxxx
Subject: Re: underscores in XML tags


At 8 Dec 1998 08:47 -0500, Chuck Darney wrote:
 > Linda van den Brink wrote:
 > > I ( - still a newbie) am using Jade + DSSSL to convert a large number
of
 > > well-formed XML files to HTML format. I'm having a problem with some of
the
 > > tags I use because they contain the underscore ('_') character. I get
 > > parsing errors saying that this character is not allowed in start tags
or
 > > end tags.
 > > 
 > > However, according to the XML specification (sec 2.3) this character is
 > > allowed in XML tag names. Can I get Jade to accept it? I don't know how
to
 > > configure Jade for XML input, but until I started using underscores I
didn't
 > > have any problems...
 > > 
 > 
 > This is the response I got from Tony Graham when I asked the same
 > question.

You asked a similar question, but the difference is that Linda is
using XML, for which there is a fixed SGML Declaration, whereas you
were using SGML and I made the assumption that you could change your
SGML Declaration.

The solutions offered by Sebastian Rahtz and Norman Walsh that show
you how to reference the SGML Declaration for XML should be followed.

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


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


Current Thread