The stream Style
My idea of what the DPH needs:
- There are 6 hard-wired routines: {StartDocument,
StartTag, EndTag, Text, Proc,
EndDocument} - what they do is obvious
- If you don't provide one of these, the default just copies the input to
the output
- Sets up perl's default variables: $_ is always the whole
chunk of text, and in StartTag, %_ is a hash table of attribute
values by name