php replace part of node value xml

MasterJ12105

New Member
I'm trying to replace a part of a xml node value with another value. For example, I've this node in my xml:\[code\]<eerste_kwartier>naam leeg</eerste_kwartier>\[/code\]or for example: \[code\]<eerste_kwartier>leeg leeg</eerste_kwartier>\[/code\]In the first example I want to replace the 'leeg' value with something else. In the second I only want to replace the first 'leeg' value with something else. Any ideas how I should do this?Thanks in advance,Jan Thiemen
 
Back
Top