XML extraction back to 3.x