On Thu, 9 Dec 2010 08:39:23 -0800 (PST)
Ivanov Dmitriy <[email protected]> wrote:

> * @data ftp
>    here we have AJAX text, that must be parsed
> * node 3
> 
> Can you tell me, what functions to use to find the node "@data ftp"
> and read it's contents?
> 
> "It would probably be simpler to get it working in a @button node
> first, anyway."
> 
> I made it work with @button node and wanna make it more generic.

p = g.findTopLevelNode(c, '@data ftp')

body content of p is p.b

there's also g.findNodeAnywhere(c, '@data ftp')

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to