XML problem with '&'. I am having a problem with XML. Whenever one of my xml files had some data in it that contains an '&', for example <tag> keyboard & mouse </tag> the xgen code throws an exceptions stating that the reference cannot be found. When it hits the '&' it thinks that the value 'mouse' is a reference.

Roseanne Zhang

use &amp; instead. This should be used everywhere except you really have an entity reference. It applies to html, xhtml, xml, etc.

About | Sitemap | Contact