in reply to Re: Replacing an XPath node with the value of its content
in thread Replacing an XPath node with the value of its content

This can certainly be accomplished via regexps (usually my default mode for this sort of thing). In this case, however, I'm dealing with thousands of files authored by an assortment of tools and people, and would prefer to use a method that helps ensure that syntax and context remain intact 100% of the time when passed chaotic code. If I can't find an XPath-style solution, I will go the regexp route.
SC
  • Comment on Re^2: Replacing an XPath node with the value of its content