sosofo-append or sequence?

Subject: sosofo-append or sequence?
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Wed, 6 May 1998 12:07:20 -0400 (EDT)
This started from an off-line discussion with Chris Maden, but does
anyone have an opinion, or a definitive rule, for when to use
sosofo-append and when to use sequence?

Chris's example in his "Basic footnotes" post yesterday was:

(element sect1
	 (sosofo-append (process-children)
			(with-mode footnotes
				   (process-children))))

This could just as easily have been:

(element sect1
	 (make sequence
	       (process-children)
	       (with-mode footnotes
			  (process-children))))

Is there are significant difference, or does it really not matter?

A rationale for using sosofo-append would be that it results in a
flatter flow object tree, but to what extent would that affect
performance?

Seemingly the only time that you need to use sequence instead of
sosofo-append is when declaring characteristics to be inherited:

(element sect1
	 (make sequence
	       start-indent: 4pi
	       (process-children)
	       (with-mode footnotes
			  (process-children))))

but is that true?

Just a touch of DSSSL philosophising to brighten your day.

Regards,


Tony Graham
=======================================================================
Tony Graham
Mulberry Technologies, Inc.                         Phone: 301-315-9632
17 West Jefferson Street, Suite 207                 Fax:   301-315-8285
Rockville, MD USA 20850                 email: tgraham@xxxxxxxxxxxxxxxx
=======================================================================


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


Current Thread
  • sosofo-append or sequence?
    • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA20006Wed, 6 May 1998 12:12:00 -0400 (EDT) <=
      • G. Ken Holman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA23715Thu, 7 May 1998 09:38:59 -0400 (EDT)
        • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA26111Thu, 7 May 1998 11:42:46 -0400 (EDT)