你好所有人都创建了一个xml / xsl文件,我想解析一个php文件
以下是xml文件:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="element.xsl" ?>
<Element>
<deck>
<name> Crusader </name>
<weight> 7.5 pounds</weight>
<size>28 inches</size>
</deck>
</Element
<Element>
<deck>
<name> Crusader </name>
<weight> 7.5 pounds</weight>
<size>28 inches</size>
</deck>
</Element
这是php文件:
link rel= "stylesheet" type = "text/css" href = "/css/style2.css">
<center>
<img src= "/img/ELEMENT.jpg"/>
</center>
<div>
<div class = "LatestSkateboardDecks">
<div class = "LatestDecksTitle"><h2>The latest skateboard decks<h2></div>
</div>
如何将xml文件添加到下面的文件中!感谢