Re: attributes in SGML to SGML

Subject: Re: attributes in SGML to SGML
From: Jany Quintard <quintard.j@xxxxxx>
Date: Thu, 22 Jul 1999 11:10:23 +0200 (MEST)
On Wed, 21 Jul 1999, Daniel Speck wrote:

> Jany Quintard wrote:
> 
> >   (list
> >     (if (attribute-string "AAAA") (list "xxxx" (attribute-string "AAAA"))
> >                                   list_empty)
.../...
> >                                   list_empty))
> >
> > The problem is what to use for list_empty ?
> > () gives an error
> > ( "" "" ) works but seems rather silly in any output other than HTML.
.../...
> 
> The correct syntax for specifying the empty list is '().
Yes, I tried it and got the following error :
  invalid value for "attributes" characteristic

I wonder if this is a consequence of James Clark statement :
   This specifies the element's attributes as a list of lists
   each of which consists of *exactly* two
   strings, ...

Anyway, thanks for the answer.

Jany.


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


Current Thread