1. A method of compressing and indexing data within a labeled tree structure, the method comprising: inputting data in a labeled tree structure; transforming the data into two coordinated arrays; and outputting the transformed data for us, the use being selected from a group consisting of compressed storage, compressed display, compressed transmission, and compressed indexing.