Manipulating Attributes of an XML Document

Merebiarmor

New Member
I have a XML document in the following general format: \[code\]<Alpha> <Beta> <Gamma> <Delta id="1"> ... </Delta> <Delta id="2"> ... </Delta> ... </Gamma> </Beta></Alpha>\[/code\]I'm looking for a way to find all of the \[code\]Delta\[/code\] elements (regardless of how many there are) and increase the value of the \[code\]id\[/code\] attribute by a specific value, \[code\]x\[/code\], and then save the document. What's the fastest way to achieve this?
 
Back
Top