我错过了什么吗?我是否需要服务器才能根据this demo
执行此操作我有两个文件cdcatalog.xml和cdcatalog.xml
添加第二行:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?
<!-- Edited by XMLSpy® -->
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
<cd>
到xml文件,它应该工作。我正在尝试将它从桌面上移除 - 这是因为它需要在服务器上运行而无法正常工作?