Re: XML - Find and replace text




gcg...@xxxxxxxxx wrote:
On Sep 19, 10:48 am, gcg...@xxxxxxxxx wrote:
What would be the cleanest way to parse an XML file and replace
certain pieces of text that match a specified pattern? I'm going to
know the exact "location" as in the text is always going to be at:

<a>
<b>
<c=stuff>text to replace here</c></b></a>

Any help is appreciated!

I'm using ActiveTcl if that makes any difference.

Cleanest is probably using XSLT with the tdom package.

Michael

.