Re: XML - Find and replace text
- From: schlenk@xxxxxxxxxxxxxxxx
- Date: Wed, 19 Sep 2007 07:52:53 -0700
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
.
- Follow-Ups:
- Re: XML - Find and replace text
- From: gcgaim
- Re: XML - Find and replace text
- References:
- XML - Find and replace text
- From: gcgaim
- Re: XML - Find and replace text
- From: gcgaim
- XML - Find and replace text
- Prev by Date: Re: expect_out contains junk characters like unicode \u001b and other encodings like [00m
- Next by Date: Re: Formatting and scanning paths containing spaces
- Previous by thread: Re: XML - Find and replace text
- Next by thread: Re: XML - Find and replace text
- Index(es):