Navigation problem

Subject: Navigation problem
From: Russell Senior <seniorr@xxxxxxxxxxxx>
Date: 24 Nov 1997 18:08:51 -0800
I am trying to implement a running header using content from a
different branch of nodes.  I've trimmed down an example.  Here is an
SGML file:

   <!ELEMENT metadata                 - - (dataset-description,
                                           data-model) > 
   <!ELEMENT dataset-description      - - (dataset-title) >
   <!ELEMENT dataset-title            - - (#PCDATA) >
   <!ELEMENT data-model               - - (#PCDATA) >
         Household Appliance Magnetic Field Data
       Model specification

Here is my sample DSSSL code:

   <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">
   (element dataset-description
     (make simple-page-sequence
       left-header: (make sequence
                      (process-first-descendant 'dataset-title))
       (literal "Dataset Description")
   (element data-model
     (make simple-page-sequence
       left-header: (make sequence
                      (process-node-list (select-elements
                                          (children (ancestor "metadata" 
       (literal "Data Model")

The running header works fine in the first element, which contains the
content I want to use, but I am having trouble navigating into the
neighboring branch in the second element declaration.  The running
header doesn't appear in the second simple-page-sequence.  I am
probably doing something stupid.  Any hints?  


Russell Senior

 DSSSList info and archive:

Current Thread