To convert the string to xml compliant string, you could use a custom tag to
convert " to &quot;, < to &lt;, et c.

instead of having an input tag, you could have a custom tag such as
filtered-input. This custom tag would replace " with &quot; 

You could try to use single-quotes for attributes, but that will lead to a
problem if there is an ' in your attribute. Also, " is not allowed in attribute
values.

I hope this helps.



--- Dinesh Khetarpal <[EMAIL PROTECTED]> wrote:
> I have an html page generated dynamically by jsp, this page has input
> field and value=A string which has " in it. I should generate the page
> converting " to &quot; but I don't and html assumes string ends early.
> Do you know a method to overcome this or utilities which will convert
> the string to xml compliant string, will be very well appreciated.
> thanks Dinesh
> 


=====
Garrett Needs A Job

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to