This content has been marked as final. Show 2 replies
1. Parse the document into a DOM.
2. Modify the nodes which you said you wanted modified.
3. Serialize the DOM to a new document.
4. Repeat steps 2 and 3 as required.
Do you perhaps have a sample for me?