Creating Headers and Footers Dynamically

Subject: Creating Headers and Footers Dynamically
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Wed, 28 May 1997 19:44:00 -0900
All,

I'm trying to figure out how to create headings by grabbing content from
subelements of the root, but my initial approach didn't appear to work
(nothing showed up in the header/foot when literal text does work.  Can
anyone tell me what I'm missing?

Here's my current (non-working code):

(root
  (make simple-page-sequence
    left-footer:   (process-matching-children "copyright")
    right-footer:  (process-first-descendant "logo")
    ...

And there is a construction rule for both copyright and logo element types.

Where instance might be:

<document>
  <docmetadata>
    <doctitle>asdfasdf</>
    <copyright firstdate=1997>ISOGEN International Corp.</copyright>
  ...
</document>

Thanks,

Eliot

--
<Address HyTime=bibloc>
W. Eliot Kimber, Senior Consulting SGML Engineer
Highland Consulting, a division of ISOGEN International Corp.
2200 N. Lamar St., Suite 230, Dallas, TX 95202.  214.953.0004
www.isogen.com
</Address>

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


Current Thread