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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: default element construction ru, stephenng | Thread | Re: default element construction ru, Gregg Reynolds |
Re: default element construction ru, stephenng | Date | Re: default element construction ru, Gregg Reynolds |
Month |