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!!!
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
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
slagy maggie
Ranch Hand
Joined: Feb 20, 2001
Posts: 35
posted
0
sorry i actually ment giving amp; and #38; behaves differently but the browser has eaten up ...hope this helps
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.