-
Archives
- September 2020
- May 2020
- April 2020
- November 2019
- June 2019
- March 2019
- January 2019
- September 2018
- August 2018
- February 2018
- November 2017
- October 2017
- July 2017
- February 2017
- December 2016
- November 2016
- August 2016
- April 2016
- January 2016
- October 2015
- September 2015
- January 2015
- October 2014
- July 2014
- March 2014
- December 2013
- September 2013
- August 2013
- July 2013
- May 2013
- March 2013
- February 2013
- September 2012
- August 2012
- July 2012
- May 2012
- February 2012
- November 2011
- October 2011
- August 2011
- July 2011
- May 2011
- January 2011
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- May 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
-
Meta
Monthly Archives: November 2016
Escaping XML with Sed
There are five XML characters that need to be escaped: ” " ‘ ' < < > > & & And here is the solution ruakh provided over on stackoverflow sed ‘s/&/\&/g; s/</\</g; s/>/\>/g; s/”/\"/g; s/'”‘”‘/\'/g’
Posted in General
Leave a comment