lazy sequence and xml bits