Extract Attribute Data

What is the format for a template file to extract attribute data from a drawing