in reply to Re: Regular Expression to replace & in XML
in thread Regular Expression to replace & in XML

Hi there,

thanks for the suggestion but this solution does not work with 'sed' command as I mentioned in my question.
If the XML has the character '&#','&' etc then the XML file can not be opened and hence I am trying to use 'sed' command.

Below are link for XML special character translation for reference
http://xml.silmaril.ie/specials.html
https://www.dvteclipse.com/documentation/svlinter/How_to_use_special_characters_in_XML.3F.html

Could you please help using 'sed' command?
  • Comment on Re^2: Regular Expression to replace & in XML

Replies are listed 'Best First'.
Re^3: Regular Expression to replace & in XML
by haukex (Archbishop) on Nov 20, 2016 at 17:46 UTC
      Thanks Hauke

      Completely understand this is a website for perl and I was struggling to implement
      the logic inside my application and it worked.
      Thanks a lot Monks!!