Headers and Footers (again)

Subject: Headers and Footers (again)
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Mon, 6 Apr 1998 10:08:04 +0100
In a simple page sequence, I want to put the <issue> element contents
into the footer.

If I put the (literal ..... )   directly into  footer, It works OK.

[e.g.
(element body                          ;set up page geometry
    (make simple-page-sequence
	use: page-style
	right-header:  (page-number-sosofo))
	right-footer:    (literal (data 
                                       (select-elements 
                                         (children
(find-sibling-matching "front")) 
                                         "issue"))))
        (process-children)))
]



If I try to make it look pretty by using 

(define ins-issue
    (literal (data 
             (select-elements 
                  (children (find-sibling-matching "front")) 
             "issue")))


then try


(element body                          ;set up page geometry
    (make simple-page-sequence
	use: page-style
	right-header:  (page-number-sosofo))
	right-footer:   (ins-issue)
        (process-children)))


 Jade complains that  I am
trying to use current-node when there is none (current-node is called
from
find-sibling-matching). Surely the two are the same?


Any suggestions where I am going wrong please.

regards, DaveP



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


Current Thread
  • Headers and Footers (again)
    • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA09068Mon, 6 Apr 1998 05:13:20 -0400 (EDT) <=
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA10341Mon, 6 Apr 1998 07:28:49 -0400 (EDT)