1. A method comprising: extracting a set of elements from a list of structures representation of an Extensible Markup Language (XML) document; and storing the set of elements in a packed vector in contiguous memory locations to allow the elements in the set to be searched in parallel.