xml, html, object pattern