把xml文件这样加载为什么不行啊
mgwms 2003-05-22 03:23:12 把xml文件这样加载<xml id=xmlData src="test.xml"></xml>为什么不行啊
这样是可以 的:
<xml id=xmlData >
<?xml version="1.0" encoding="gb2312"?>
<root>
<rows Product_Id="1" Product_Code="ISBN: 1-58861-075-6" CEPC_No="ISBN: 1-58861-075-6" Product_Name="AAPG Bulletin on CD1990-1999"/>
<rows Product_Id="2" Product_Name="AAPG Data_ROM 1993: More than 400,000 well records on a CD-ROM:"/>
<rows Product_Id="3" Product_Name="The Arabian Plate: Producing Fields and Other Undeveloped Hydrocarbon Discoveries (1991). (Digital Map)"/>
<rows Product_Id="4" Product_Code="1-58861-179-5" CEPC_No="1-58861-179-5" Product_Name="Petroleum Basins of South America"/>
<rows Product_Id="5" Product_Name="Bally Seismic Atlas Series:Seismic Expression of Structural Styles, Studies in Geology 15 (3 vols., 1 disc)"/>
<rows Product_Id="6" Product_Name="Combined Index on CD-ROM (2000 edition)."/>
<rows Product_Id="7" Product_Name="Gulf of Mexico Type Well File"/>
<rows Product_Id="8" Product_Name="International Developments in Exloratory Drilling(AAPG) 1950-1990"/>
</root>
</xml>
为什么???