Categories | Question details Back To List | ||
HTML to xml Hi, I want to transform HTML in xml. To obtain larger speed. Which the best way to do that? For instance I have HTML, following: <TR> <TD BGCOLOR=#00FFFF BORDERCOLOR=#000080><FONT FACE="Arial" SIZE=1 COLOR=#010000 SIZE=1><B> Drinks </B></FONT></TD> <TD ALIGN=RIGHT nowrap><FONT FACE="Verdana" SIZE=1> R$ 47.919,00 </FONT></TD> <TD ALIGN=RIGHT nowrap><FONT FACE="Verdana" SIZE=1> R$ 103.924,31 </FONT></TD> <TD ALIGN=RIGHT nowrap><FONT FACE="Verdana" SIZE=1> R$ 116.024,88 </FONT></TD> </TR> Which the best option of XML? Using CDATA? If possible, of an example of as it will be the xml of the first two lines above. Thank you. Best regards. CHW Answer posted by Support on Apr 25, 2008 03:45 <row id="some"> <cell style="background-color:#00FFFF; border-color:#000080;"><![CDATA[ <FONT FACE="Arial" SIZE=1 COLOR=#010000 SIZE=1><B> Drinks </B></FONT> ]]></cell> <cell><![CDATA[ <FONT FACE="Verdana" SIZE=1> R$ 47.919,00 </FONT> ]]></cell> |