Re: Q: Jade, RTF, line breaks etc.

Subject: Re: Q: Jade, RTF, line breaks etc.
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Fri, 08 Aug 1997 10:55:39 -0400
Mikko Lounela wrote:
> I have managed to navigate from under a sibling of the AUTHGRP and get a list
> that includes all the children of all the AFF elements. Like this:

That seems like your problem. Why are you getting all of the children of
all of the AFF elements rather than a list of the AFF elements? Here's a
rough draft:

(define (find-affs)
   (select-elements (descendents (root)) 'AFF ))

(define (print-affs)
   (with-mode aff-print (process-node-list (find-affs))))

(mode aff-print
    (element aff
      (make paragraph
        (process-matching-children 'ORGNAME)
        (literal ",")
        (process-matching-children 'ORGDIV))))

I haven't tested this, but something like it should work.

 Paul Prescod



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


Current Thread