Subject: Re: Getting the contents of an element From: "Russell Steven Shawn O'Connor" <roconnor@xxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 21 Apr 1998 11:05:35 -0400 (EDT) |
On Tue, 21 Apr 1998, Chris Maden wrote: > (get-contents) looks for an ancestor of the current node called > "TEXT". From <text> itself, you won't find any such ancestor, and so > this all falls apart. > > Instead of (ancestor *top-gi*), try (grove-root (current-node)). Shouldn't (tree-root) be used instead to get the root of the content-tree. Or in the case of using Jade. (node-property 'tree-root (current-node)) -- Russell O'Connor roconnor@xxxxxxxxxxxx <URL:http://www.undergrad.math.uwaterloo.ca/%7Eroconnor/> "And truth irreversibly destroys the meaning of its own message" -- Anindita Dutta, "The Paradox of Truth, the Truth of Entropy" DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Getting the contents of an elem, Georg Rehm | Thread | RE: Getting the contents of an elem, Reynolds, Gregg |
Re: Getting the contents of an elem, Georg Rehm | Date | Tutorial., Daniel M. German |
Month |