Re: process-node-list, select-element, etc.....

Subject: Re: process-node-list, select-element, etc.....
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Tue, 19 May 1998 13:08:50 -0400
Frank Pursel wrote:
> Wow.  This is exactly what I needed.  I modified my document only
> slightly, per your clue, and it works!  I just had to add one
> empty element 'header' to make things work.  I honestly don't
> understand what the benefit of all the complexity is though.  Why
> can't all elements in a document just be treated equally?  

The root construction rule does not match an element, but the
sgml-document node, which represents all of the elements and the DTD etc.
I think your real question is "why doesn't the sgml-document node have the
document element as a child." That might be convenient sometimes, but I
don't think that the current way is wrong. Would the DTD also be a "child"
of the sgml-document node?

Paul Prescod  -

"A writer is also a citizen, a political animal, whether he likes it or 
not. But I do not accept that a writer has a greater obligation 
to society than a musician or a mason or a teacher. Everyone has
a citizen's commitment."  - Wole Soyinka, Africa's first Nobel Laureate

 DSSSList info and archive:

Current Thread
  • process-node-list, select-element, etc.....
    • Pursel, Frank - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id QAA12860Mon, 18 May 1998 16:51:55 -0400 (EDT)
      • <Possible follow-ups>
      • Reynolds, Gregg - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id SAA15030Mon, 18 May 1998 18:34:38 -0400 (EDT)
        • Frank Pursel - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id IAA29846Tue, 19 May 1998 08:43:48 -0400 (EDT)
          • Tony Graham - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id LAA02911Tue, 19 May 1998 11:32:04 -0400 (EDT)
          • Paul Prescod - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id NAA04875Tue, 19 May 1998 13:13:31 -0400 (EDT) <=