Hello all.  I'm trying to implement the following.  The goal being to grab 
the contents of a field on this tiddler and the tiddlers specified in the 
"parent" field, then do the same for those parents.  Is this possible?  I'm 
pretty sure that I can't use a macro for my goal, but I haven't found any 
filter that would recurse the same way.

\define inherit(field,sort:)
<$list filter={{!!parent}} >
<$macrocall $name="inherit" field=$field$ />
</$list>
{{!!$field$}}
\end

<$list filter=<<inherit test>> >

</$list>

That produces the following:  

<$list <#%3C%24list>
filter={{!!parent}} <#filter%3D%7B%7B!!parent%7D%7D>
> <#%3E>
<$macrocall <#%3C%24macrocall>
$name="inherit" <#%24name%3D%22inherit%22>
field=test <#field%3Dtest>
/> <#%2F%3E>
</$list> <#%3C%2F%24list%3E>
{{!!test}} <#%7B%7B!!test%7D%7D>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f194ff6e-2840-4fde-b067-bf8122607be5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to