Subject: Re: Finding the root element From: Norman Walsh <ndw@xxxxxxxxxx> Date: Thu, 29 Oct 1998 08:37:07 -0500 |
/ "W. Eliot Kimber" <eliot@xxxxxxxxxxxxxx> was heard to say: | At 07:38 AM 10/29/98 -0500, Norman Walsh wrote: | >Apologies if I asked this once before... | > | >Is it possible to find the node of the document element outside | >the context of another element? Specifically, can I find it in | >a function called from (root)? | | This should work from any node in the grove: | | (define (docelem node) | (node-propety 'document-element | (node-property 'grove-root node))) Yes, but in (root ...) there's no (current-node), so how do I get 'node'? Cheers, norm -- Norman Walsh <ndw@xxxxxxxxxx> | Clones are people two. http://nwalsh.com/ | DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Finding the root element, W. Eliot Kimber | Thread | Re: Finding the root element, G. Ken Holman |
Re: Finding the root element, W. Eliot Kimber | Date | Re: Finding the root element, Daniel Speck |
Month |