ajith.....i hope you can save my skin!!! <manufacturer>johnson&johnson</manufacturer> how do i get this value with the ampersand in it if i try<manufacturer>johnson&johnson</manufactgurer> it gives a sax parser exception of an illegal character please help!!!
Joined: Jun 03, 2000
Exactly what you are looking for....I haven't read thru everything, but help yourself. Q: I have content like <company>Harris & George</company> in my XML document -- will the "&" be seen as a special character? A:
regds. - satya
[This message has been edited by Madhav Lakkapragada (edited June 05, 2001).]
Hi, Thankyou all..... This is what i found out if i give <Manufacturernamed>johnson&johnson<MnaufacturerName> It extracts the value as johnson but if i give <ManufacturerName>johnson&johnson<Manufacturername> it extracts johnson&johnson why is this hapenning...and also if we dont want our users who are support staff to enter something as complicated as johnson&johnson.....what is it we can do to substitute this value when ever we see a "&"....can we do this in the DTD.... <!DOCTYPE rootelem [ <!ENTITY name "value"> ]> <rootelem>...</rootelem> i CAM ACROSS this....but this is for a specific tag if i wanted to generalize this thro the whole doc what can i do??? thanks Rupa
Joined: Feb 20, 2001
sorry i actually ment giving amp; and #38; behaves differently but the browser has eaten up ...hope this helps