Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Regular Expression Help – Updating an XML attribute
Clovertechies,
I have an XML fragment like:
I would like to use regsub to update the value of one of the attributes “value2” to “newvalue”.
I can isolate the portion to replace with a search pattern like:
{
Any suggestions?
- Mark Thompson HealthPartners
set expr {}
regsub — {(
Thanks Charlie!