That is correct. It returns an array. The next step is to remove the child nodes you mentioned. Then, you construct those pieces back together as a single XML document.
That is correct. It returns an array. The next step is to remove the child nodes you mentioned. Then, you construct those pieces back together as a single XML document.