Methods and apparatus, including computer program products, implement
techniques for accessing elements of structured source data. Sample data
that is capable of being represented as a hierarchy of elements is
received. A graphical representation of the hierarchy of elements is
presented. User input is received selecting one or more elements in the
graphical representation of the hierarchy of elements. A template
structure is defined based on the selected elements. Source data is
accessed according to the template structure.