[dokuwiki] writing a syntax plugin

Hi,
I am trying to grasp development of dokuwiki plugins and have a few
questions:

if I wanted to write a container plugin with a more complex syntax:
<blockA>
<A>aaa</A>
<B>bbb</B>
</blockA>
is it better to add a single special pattern <blockA>.+?</blockA> or
have entry, exit and internal patterns?

Is there perhaps an example of such a plugin - I spent half an hour
searching but couldn't find anything.

And, continuing the topic of complex syntaxes, can a plugin store
information, collected during multiple handle(...) calls, when rendering
a single page? Like collect all the items in <blockA>, process them
(e.g. sort) and only then render.

Thanks in advance,
Domas

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: