Thanks guys and dolls for the entity jargon, I haven't done any studying on HTML or XML, been focusing purely on OO engineering and AD.
As far as the problem at hand, that's pretty odd. Haven't ever ran across that before, so I think I'm all out of suggestions. I assume you are
testing for quotes in the string and replacing them with the entity, and as far as the value goes, in the combination of \'s and "'s that you provided, I didn't see the ones I used. I would print them here, but I don't want to overstep the bounds. Your string segments always end in a double-quote, so values would need to have double-quotes placed before that, and strings always begin with a double-quote, so you would need to insert a double-quote character afterwards. Vague enough?
Jason
[This message has been edited by jason adam (edited September 18, 2001).]