are characters # or & allowed in xml? are characters # or & allowed in xml? xml xml

are characters # or & allowed in xml?


The & character appears to be illegal, use (below) instead.

&

Invalid Characters in XML

The # character should be OK.

Also this may be useful: http://xml.silmaril.ie/specials.html.


& needs to be escaped as it is used for esaping itself. All escapes start with & (", <, >).

& is the escape for &