Remove Table from HTML or XAML C# -


i have used html xaml (flowdocument) conversion script, problem don't want tables displayed.

i prefer using html code example:

<table> <tr> <td></td> </tr> <tr> <td></td> <td></td> </tr> </table> 

ok examples sake, formatting of table, is. replace tags maybe <p> or <br /> how go doing this?

in very simplistic terms:

string html = "..."; html = html.replace("<table>","<p>"); html = html.replace("<td>",""); html = html.replace("</td>"," "); html = html.replace("<tr>","");  html = html.replace("</tr>","<br/>"); html = html.replace("</table>","</p>"); 

you'll space after closed in case have more 1 . can account through more thorough logic.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -