Re: OpenJade News - July 8 1999

Subject: Re: OpenJade News - July 8 1999
From: Matthias Clasen <clasen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Jul 1999 00:40:12 +0200
> 
> You'll need to plug in your own definition of "empties" (a list of the
> empty elements in your DTD) -- or maybe someone wants to suggest a way
> to get the information of whether an element is empty or not out of
> the SGML property set?

(define (declared-empty gi)
  (equal? 'empty 
     (node-property 'content-type
        (node-list-filter 
           (lambda (nd) (equal? gi (node-property 'gi nd))) 
           (q-class 'element-type (grove-root))))))
 
But class element-type and its properties are prlabs1, thus the
information is not provided by (Open)Jade <= 1.2.2. The latest version
of Kathleen Marzalek's mif backend patches expand jades grove plan
to include prlabs1. We will try to integrate that in a future
OpenJade release.

-- 
Matthias Clasen, 
Tel. 0761/203-5606
Email: clasen@xxxxxxxxxxxxxxxxxxxxxxxxxx
Mathematisches Institut, Albert-Ludwigs-Universitaet Freiburg


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


Current Thread