Re: default element construction rule

Subject: Re: default element construction rule
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Mon, 16 Mar 1998 18:42:33 -0500
The default rule is invoked at *every level* in the absenseof anything
else that matches. So yes, that means that it is matched at the top,
which is causing the problem you have. One way to solve it would be:

(default (empty-sosofo))

(element HTML (process-matching-children "BODY"))
(element BODY (process-matching-children "H1" "H2" ...))

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

"You have the wrong number."
"Eh? Isn't that the Odeon?"
"No, this is the Great Theater of Life. Admission is free, but the 
taxation is mortal. You come when you can, and leave when you must. The 
show is continuous. Good-night." -- Robertson Davies, "The Cunning Man"


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


Current Thread
  • default element construction rule
    • stephenng - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id OAA14790Mon, 16 Mar 1998 14:46:41 -0500 (EST)
      • Chris Maden - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id PAA15608Mon, 16 Mar 1998 15:01:04 -0500 (EST)
      • <Possible follow-ups>
      • Reynolds, Gregg - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id PAA15897Mon, 16 Mar 1998 15:06:16 -0500 (EST)
      • stephenng - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id PAA16310Mon, 16 Mar 1998 15:23:46 -0500 (EST)
        • Paul Prescod - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id SAA19639Mon, 16 Mar 1998 18:43:29 -0500 (EST) <=
          • Gregg Reynolds - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id XAA23031Mon, 16 Mar 1998 23:14:03 -0500 (EST)
          • Chris Maden - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA07486Tue, 17 Mar 1998 10:58:20 -0500 (EST)