I have come up with another problem. If there are quotes in my input text, the text will not appear in the new page. I have written a seperate method that creates the HTML page. The quotes are still there before the text is submitted to that method. I have tried "replacing" the quotes but that did not seem to help. Thanks in advance for any suggestions. Matthew Phillips
Are the quotes at the beginning of the string, or is this happening if they are just anywhere? What I kept getting was if there was a quote say in the middle of the string, everything up to the quote would show. Again, I had to use a replace method that inserted HTML's quote tag (don't think tag is the right word here, don't know what else to call it) (character-entity sequence) where the "'s were.
[This message has been edited by Marilyn deQueiroz (edited September 16, 2001).]
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).]
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop