Xml Parsing with Symbol

Hello,

I have a element with name ClientId and having value as:- rohan&meta.

It gives Sax Parser Exception.

So is there any trick for string with value having symbol &.

[204 byte] By [redangera] at [2007-11-27 11:47:09]
# 1

Trick? No, there's no trick. There is a rule in XML that you must escape the & character in a text node (I suppose that's what you meant by the "value" of your element). You have to use & instead. But that isn't a trick. Read more about it here:

http://www.w3schools.com/xml/xml_cdata.asp

DrClapa at 2007-7-29 18:11:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...