Allow specifying multiple packages on the command line
Fix escaping of the cdata

We use two different modes, so lets use a flag to tell which version we're in right now.
Strip each line of multiline XML cdata