Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XML '&' character causing problems

Tags:

xml

A semi colon character was expected. Error processing resource '...

<key>SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CNXT_MODEM_PCI_VEN_8086&DEV

How can I avoid this error being printed out when viewing my XML file in a browser? It seems to complain because of the '&' character, how do I escape it? thanks.

like image 211
user105033 Avatar asked Dec 07 '09 22:12

user105033


1 Answers

Try escaping it with &amp;.

like image 123
Li0liQ Avatar answered Oct 20 '22 00:10

Li0liQ