On Mon, 12 Dec 2011 16:48:07 -0800 (PST)
HansBKK <[email protected]> wrote:

> If nodes-with-content-not-being-derived-into-files are present right up to 
> the root, no problem. Any empty nodes in between "block", they don't get 
> reported. Unfortunately everything in my data is organized with empty nodes 
> above. . .

Didn't think of that, what about

def report(p):

    if p.v.anyAtFileNodeName():
        return

    if p.b.strip():

        g.es(p.get_UNL(False))
        
    for i in p.children():
        report(i)

for i in c.rootPosition().self_and_siblings():
    report(i)

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