Well, your input is not well-formed xml, because it contains an ampersand. According to the
xml spec it has to be written as the string
"&". I think it's the cleanest way to create well-formed xml input, but you could also write some kind of preprocessor that converts the not so valid xml to xml.