This will iterate over all the children of "p" and invoke the appropriate
template: if it's a text node it will be printed by the default template,
if it's a "enumerate" it will be handled by the template you wrote.
Be careful that, if "p" has other elements as children, the default
template will write all the text fragments they have as children: so
you must create empty templates for them.