Object returned when calling to parseFromString() doesn't includes documentElement field.
parseFromString()
documentElement