First attempt at parsing - works for very basic documents