Basic compound adapter

Limited support for headers, footers, and regular items.