还有点击XML的话,它显示“ Error: 文档的顶层无效。 Line: (1) Text: oo File: ”因为你存储的不是XML文件格式的内容 XML文件格式: books.xml"文件如下: <?xml version='1.0'?> <!-- This file represents a fragment of a book store inventory database --> <bookstore> <book genre="autobiography" publicationdate="1981" ISBN="1-861003-11-0"> <title>The Autobiography of Benjamin Franklin</title> <author> <first-name>Benjamin</first-name> <last-name>Franklin</last-name> </author> <price>8.99</price> </book> </bookstore>
哦,那为什么我选RTF后,并不能修改内容的字体,颜色这些呢还有点击XML的话,它显示“
Error: 文档的顶层无效。
Line: (1)
Text: oo
File: ”
Error: 文档的顶层无效。
Line: (1)
Text: oo
File: ”因为你存储的不是XML文件格式的内容
XML文件格式:
books.xml"文件如下: <?xml version='1.0'?>
<!-- This file represents a fragment of a book store inventory database -->
<bookstore>
<book genre="autobiography" publicationdate="1981" ISBN="1-861003-11-0">
<title>The Autobiography of Benjamin Franklin</title>
<author>
<first-name>Benjamin</first-name>
<last-name>Franklin</last-name>
</author>
<price>8.99</price>
</book>
</bookstore>