default element construction rule

Subject: default element construction rule
From: stephenng@xxxxxxxxxxxx
Date: Mon, 16 Mar 1998 14:45:38 +0000
I'm feeding Jade some HTML, and would like to it to emit stuff only
for elements I'm interested in.  For example, I'd like it to only
print out all <H1> text.  Unfortunately, by default, it spits
something out for every character in the HTML document.  One way to 
get what I want would be to create an element construction rule for 
all the elements other than the ones I want, and have them generate 
(empty-sosofo).  But that seems like a lot of work.

I've tried changing the default element construction rule, but

(default (empty-sosofo))

winds up killing all my output, even if I have a more specific 
construction rule for H2.

Is there a way to do this using the default element construction 
rule?

Thanks,

Steve


 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)