Cleaner, nicer Python in parse_cdata() function.