remove child and insert string at once
Status: Beta
Brought to you by:
nigelswinson
request for sam:
imagine a syntax like this:
<table>
<tr>
<td>
<MY_IMAGE_1 name="something"><br/>
bla bla
<MY_IMAGE_2 name="something"><br/>
bla bla
</td>
</tr>
</table>
now i'd like to be able to replace the <MY_IMAGE_x>
tags with a string using just one function.
something like
$status = $xPath->replaceNodeByText
($absoluteXPath, 'my string');
syntax:
bool replaceNodeByText(string $absoluteXPath, string
$string)
fab