1. A method comprising: extracting a set of elements from a list of structures representation of an Extensible Markup Language (XML) document, the set of elements comprises at least one of name elements and type elements; storing the name elements and the type elements in a primary list that has a parallel layout, wherein the name elements are to be stored in a packed vector in a first set of contiguous memory locations and the type elements are to be stored in the packed vector in a second set of contiguous memory locations; and storing in a secondary list pointers to information to describe the XML document that is not stored in the primary list.