PDA

View Full Version : Special Characters in XML



jasonrg
Mar 18th, 2003, 10:02 PM
I am having a problem with the '&' character in my .xml file. The following is how my element is defined:

<mods>9" K&N cone filter</mods>

When I try to validate a file that has the '&' in one of the elements, I get the following error:

A semi colon character was expected

Is there a way to enter this so the '&' is valid or should I not use it at all? TIA!

JasonRG

jkd
Mar 18th, 2003, 10:12 PM
&amp;amp; instead of &

jasonrg
Mar 18th, 2003, 10:15 PM
Thank you very much for the quick reply!! That solves that one!

php_brian
Mar 19th, 2003, 03:20 AM
[EDIT[Opps posted this in wrong place LOL[/EDIT]