Subject: Re: urk, simple question, testing for #PCDATA From: Paul Prescod <papresco@xxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 08 Jul 1997 08:59:02 -0400 |
Norman Walsh wrote: > Curiously, this node list isn't empty, even when you'd think it would be. That's because characters are nodes. > It turns out, however, that > > (gi (node-list-first (children snl))) > > is #f if snl contains just PCDATA. Not if the first node is a character but subsequent ones are "real" nodes. You need to use (select-by-class (children snl) 'element) Paul Prescod DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: urk, simple question, testing f, Norman Walsh | Thread | Re: urk, simple question, testing f, Paul Prescod |
RE: character "_" invalid, Jacques Deseyne | Date | Re: declare-initial-value, Paul Prescod |
Month |