i have this string
<PARAMETERS zone = "6" check_in = "2012-07-01" check_out = "2012-07-02">
<ROOMS>
<ROOM adults = "2" children = "0"/>
</ROOMS>
</PARAMETERS>
And i want to obtain this other in vb.net
<PARAMETERS zone = "6" check_in = "2012-07-01" check_out = "2012-07-02">
<ROOMS>
<ROOM adults = "2" children = "0"/>
</ROOMS>
</PARAMETERS>
Someone knows if exists a function to do it directly?
Thanks.
HttpUtility.HtmlEncodewill do the trick.From MSDN:
One overload can be used like this: