如何重现这些代码的最终结果?

时间:2013-03-23 08:36:55

标签: xml

如果标题过于笼统,我很抱歉;反正

这是 XML文件的一部分

</dl><dl><b>elo·quent</b> <!--id=000014151--><i>BrE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i> </i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__gb_1.wav"></OBJECT><i> </i>
     <i>NAmE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i> </i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__us_1.wav"></OBJECT><i> </i>
     <font color=orange> adjective</font><br>
</dt><dt><font color=darkmagenta><b>1.</b></font> <!--d-->able to use language and express your opinions well, especially when you are speaking in public<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->an <!--/x--> </font><b><font color=darkslategray><!--cl-->eloquent speech/speaker<!--/cl--> </font></b><br>
</dt><dt><font color=darkmagenta><b>2.</b></font> <font color=darkgray>(</font><font color=darkslategray><i><!--dc-->of a look or movement<!--/dc--></i></font><font color=darkgray>) </font><!--d-->able to express a feeling<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->His eyes were eloquent.<!--/x--> </font><font color=darkgray> </font><br>
    <!--Derived Word--><dd><font color=darkslategray><u>Derived Words:</u></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquence</font> <font color=darkslategray><b>▪</b></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquently</font><!--/Derived Word--> <dd> <br>
    <!--Word Origin--><dd><font color=darkslategray><u>Word Origin:</u></font><br>
<dd> <font color=rosybrown>[</font><font color=darkslategray><b>eloquence</b></font> <font color=darkslategray><b>eloquent</b></font> <font color=darkslategray><b>eloquently</b></font><font color=rosybrown>]</font> <font color=darkgray> </font><font color=darkslategray><!--lang-->late Middle English<!--/lang--></font><font color=dimgray><!--etymology-->: via <!--/etymology--> </font><font color=darkslategray><!--lang-->Old French<!--/lang--> </font><font color=dimgray><!--etymology--> from <!--/etymology--> </font><font color=darkslategray><!--lang-->Latin<!--/lang--> </font><font color=darkgray> </font><font color=darkcyan><!--ff-->eloquent-<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speaking out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from the verb <!--/etymology--> </font><font color=darkcyan><!--ff-->eloqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from <!--/etymology--> </font><font color=darkcyan><!--ff-->e-<!--/ff--> </font><font color=dimgray><!--etymology--> (variant of <!--/etymology--> </font><font color=darkcyan><!--ff-->ex-<!--/ff--></font><font color=dimgray><!--etymology-->) <!--/etymology--> </font><font color=darkslateblue><b><!--etym_tr-->‘out’<!--/etym_tr--> </b></font><font color=dimgray><!--etymology--> + <!--/etymology--> </font><font color=darkcyan><!--ff-->loqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->.<!--/etymology--> </font> <dd> <br>
    <!--Example Bank--><dd><font color=darkslategray><u>Example Bank:</u></font><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->He grew very eloquent on the subject.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->He waxed eloquent about her talents as an actress.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->a very eloquent speaker<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->It was an eloquent and well-informed speech.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->She was an eloquent speaker, with a beautiful voice.<!--/x--> </font>

此代码的结果如下:(在巴比伦(单词翻译)): enter image description here 我的问题是:如何重现代码的最终外观(如图片所示)?我的意思是它可能是一个HTML代码,如果我在浏览器中打开它,我会重现最终结果(我做得不顺利)

2 个答案:

答案 0 :(得分:0)

</dl><dl><b>elo·quent</b> <!--id=000014151--><i>BrE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i>&amp;nbsp;</i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__gb_1.wav"></OBJECT><i>&amp;nbsp;</i>
     <i>NAmE</i> <font color=darkgray> </font><font color=darkcyan>[ˈeləkwənt]</font> <i>&amp;nbsp;</i><OBJECT CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" width=16 height=12 volume=100><PARAM NAME="EnableContextMenu" VALUE="False"><PARAM NAME="AutoStart" VALUE="False"><PARAM NAME="URL" VALUE="D:\Dictionaries\En-En-OALD8.dsl.files\z_eloquent__us_1.wav"></OBJECT><i>&amp;nbsp;</i>
     <font color=orange> adjective</font><br>
</dt><dt><font color=darkmagenta><b>1.</b></font> <!--d-->able to use language and express your opinions well, especially when you are speaking in public<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->an <!--/x--> </font><b><font color=darkslategray><!--cl-->eloquent speech/speaker<!--/cl--> </font></b><br>
</dt><dt><font color=darkmagenta><b>2.</b></font> <font color=darkgray>(</font><font color=darkslategray><i><!--dc-->of a look or movement<!--/dc--></i></font><font color=darkgray>) </font><!--d-->able to express a feeling<!--/d--><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->His eyes were eloquent.<!--/x--> </font><font color=darkgray> </font><br>
    <!--Derived Word--><dd><font color=darkslategray><u>Derived Words:</u></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquence</font> <font color=darkslategray><b>▪</b></font> <font color=gray size=0.1>↑ </font><font color=blue>eloquently</font><!--/Derived Word--> <dd> <br>
    <!--Word Origin--><dd><font color=darkslategray><u>Word Origin:</u></font><br>
<dd> <font color=rosybrown>[</font><font color=darkslategray><b>eloquence</b></font> <font color=darkslategray><b>eloquent</b></font> <font color=darkslategray><b>eloquently</b></font><font color=rosybrown>]</font> <font color=darkgray> </font><font color=darkslategray><!--lang-->late Middle English<!--/lang--></font><font color=dimgray><!--etymology-->: via <!--/etymology--> </font><font color=darkslategray><!--lang-->Old French<!--/lang--> </font><font color=dimgray><!--etymology--> from <!--/etymology--> </font><font color=darkslategray><!--lang-->Latin<!--/lang--> </font><font color=darkgray> </font><font color=darkcyan><!--ff-->eloquent-<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speaking out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from the verb <!--/etymology--> </font><font color=darkcyan><!--ff-->eloqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak out’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->, from <!--/etymology--> </font><font color=darkcyan><!--ff-->e-<!--/ff--> </font><font color=dimgray><!--etymology--> (variant of <!--/etymology--> </font><font color=darkcyan><!--ff-->ex-<!--/ff--></font><font color=dimgray><!--etymology-->) <!--/etymology--> </font><font color=darkslateblue><b><!--etym_tr-->‘out’<!--/etym_tr--> </b></font><font color=dimgray><!--etymology--> + <!--/etymology--> </font><font color=darkcyan><!--ff-->loqui<!--/ff--> </font><font color=darkgray> </font><font color=darkslateblue><b><!--etym_tr-->‘speak’<!--/etym_tr--></b></font><font color=dimgray><!--etymology-->.<!--/etymology--> </font> <dd> <br>
    <!--Example Bank--><dd><font color=darkslategray><u>Example Bank:</u></font><br>
<dd><font color=forestgreen>• </font><font color=forestgreen><!--x-->He grew very eloquent on the subject.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->He waxed eloquent about her talents as an actress.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->a very eloquent speaker<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->It was an eloquent and well-informed speech.<!--/x--> </font><br>
<dd><font color=forestgreen>• </font><font color=darkgray> </font><font color=forestgreen><!--x-->She was an eloquent speaker, with a beautiful voice.<!--/x--> </font>

另见:

http://www.htmlhelp.com/reference/html40/entities/special.html http://www.w3schools.com/html/html_entities.asp

答案 1 :(得分:0)

代码是用HTML实体编码的HTML。您必须解码所有实体。然后代码可以在浏览器中显示为HTML。