如何查看xml文件

时间:2017-03-04 17:14:18

标签: xml web xml-parsing rss

对于专家来说,这可能是一个简单的问题但是对于像我这样在网络开发方面非常新的人我真的遇到了麻烦。我有一些xml文本,如下所示:

<?xml version="1.0"?>
<root>
<row title="Structural basis for NADH/NAD+ redox sensing by a Rex family repressor." link="https://www.ncbi.nlm.nih.gov/pubmed/20513431?dopt=Abstract" description-__cdata="&lt;table border=&quot;0&quot; width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td align=&quot;left&quot;&gt;&lt;a href=&quot;https://linkinghub.elsevier.com/retrieve/pii/S1097-2765(10)00368-0&quot;&gt;&lt;img src=&quot;//www.ncbi.nlm.nih.gov/corehtml/query/egifs/http:--linkinghub.elsevier.com-ihub-images-cellhub.gif&quot; border=&quot;0&quot;/&gt;&lt;/a&gt; &lt;a href=&quot;https://linkinghub.elsevier.com/retrieve/pii/S1097-2765(10)00368-0&quot;&gt;&lt;img src=&quot;//www.ncbi.nlm.nih.gov/corehtml/query/egifs/http:--linkinghub.elsevier.com-ihub-images-celloa.png&quot; border=&quot;0&quot;/&gt;&lt;/a&gt; &lt;/td&gt;&lt;td align=&quot;right&quot;&gt;&lt;a href=&quot;https://www.ncbi.nlm.nih.gov/sites/entrez?db=pubmed&amp;amp;cmd=Link&amp;amp;LinkName=pubmed_pubmed&amp;amp;from_uid=20513431&quot;&gt;Related Articles&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
        &lt;p&gt;&lt;b&gt;Structural basis for NADH/NAD+ redox sensing by a Rex family repressor.&lt;/b&gt;&lt;/p&gt;          
        &lt;p&gt;Mol Cell. 2010 May 28;38(4):563-75&lt;/p&gt;
        &lt;p&gt;Authors:  McLaughlin KJ, Strain-Damerell CM, Xie K, Brekasis D, Soares AS, Paget MS, Kielkopf CL&lt;/p&gt;
        &lt;p&gt;Abstract&lt;br/&gt;
        Nicotinamide adenine dinucleotides have emerged as key signals of the cellular redox state. Yet the structural basis for allosteric gene regulation by the ratio of reduced NADH to oxidized NAD(+) is poorly understood. A key sensor among Gram-positive bacteria, Rex represses alternative respiratory gene expression until a limited oxygen supply elevates the intracellular NADH:NAD(+) ratio. Here we investigate the molecular mechanism for NADH/NAD(+) sensing among Rex family members by determining structures of Thermus aquaticus Rex bound to (1) NAD(+), (2) DNA operator, and (3) without ligand. Comparison with the Rex/NADH complex reveals that NADH releases Rex from the DNA site following a 40 degrees closure between the dimeric subunits. Complementary site-directed mutagenesis experiments implicate highly conserved residues in NAD-responsive DNA-binding activity. These rare views of a redox sensor in action establish a means for slight differences in the nicotinamide charge, pucker, and orientation to signal the redox state of the cell.&lt;br/&gt;
        &lt;/p&gt;&lt;p&gt;PMID: 20513431 [PubMed - indexed for MEDLINE]&lt;/p&gt;
    " author="McLaughlin KJ, Strain-Damerell CM, Xie K, Brekasis D, Soares AS, Paget MS, Kielkopf CL" category="Mol Cell" guid-_isPermaLink="false" guid-__text="PubMed:20513431" FIELD8=""></row>
<row title="Antimicrobial tolerance and the significance of persister cells in recalcitrant chronic wound biofilms." link="https://www.ncbi.nlm.nih.gov/pubmed/21235682?dopt=Abstract" description-__cdata="&lt;table border=&quot;0&quot; width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td align=&quot;left&quot;&gt;&lt;a href=&quot;http://dx.doi.org/10.1111/j.1524-475X.2010.00651.x&quot;&gt;&lt;img src=&quot;//www.ncbi.nlm.nih.gov/corehtml/query/egifs/http:--media.wiley.com-assets-7315-19-Wiley_FullText_120x30_orange.png&quot; border=&quot;0&quot;/&gt;&lt;/a&gt; &lt;/td&gt;&lt;td align=&quot;right&quot...................

这是针对不同人的出版物列表。我想将其放在网站上,例如this

除了html和css以及一些JS,我没有任何知识。如果有人能告诉我如何解决这个问题或者是否有任何在线工具,我将不胜感激。

1 个答案:

答案 0 :(得分:0)

要查看此xml文件,只需在Firefox或IE中打开它,您就会看到标签树。

注意:cdata区域将显示为非常长的非结构化文本。

如果你想做某事(处理,选择......),你必须解析它。通常的语言有解析库。