Re: Yet another newbie question

Subject: Re: Yet another newbie question
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Wed, 26 Aug 1998 17:26:09 -0400 (EDT)
At 26 Aug 1998 15:38 -0500, CORL, Ernie wrote:
 > I have the following entry in my dsssl spec:
 > 	(element sysobj 
 > 		(make element
 > 			gi: "newsysobj"
 > 			attributes: '(("newtype" (attribute-string "type")))
 > ))
 > 
 > But I receive the following error message from Jade:
 > 	"...invalid value for "attributes" characteristic".

Your quoting with "'" is being a bit too successful.  Try:

	(element sysobj 
		(make element
			gi: "newsysobj"
			attributes: (list
				     (list
				       "newtype" (attribute-string "type")))

although the second `list' is possibly unnecessary, in which case
parentheses could be used.

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
  • Yet another newbie question
    • CORL, Ernie - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA14026Wed, 26 Aug 1998 17:20:14 -0400 (EDT)
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA15300Wed, 26 Aug 1998 17:43:53 -0400 (EDT) <=
        • G. Ken Holman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id VAA06324Wed, 26 Aug 1998 21:29:25 -0400 (EDT)
        • Louis-Dominique Dubeau - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA26127Thu, 27 Aug 1998 08:40:24 -0400 (EDT)