the following are xml & xsl files code
i need php out put some words in 11.xml
such as: <ccc><?php echo "me"; ?></ccc>
and the page style as the same with 11.xml
how to code this php files?
(i know none of xml, but I'm sure the xml/xslt dlls are working on.)
Thanks alot!
11.xml------------------------------------------------------
<?xml version="1.0"?>
<?xml:stylesheet type="text/xsl" href="1.xsl"?>
<aaa>
<bbb>
<ccc>jsper</ccc>
<ddd>008</ddd>
<eee>unknow</eee>
<fff>56757575</fff>
<ggg>2131313131</ggg>
</bbb>
<bbb>
<ccc>XSL</ccc>
<ddd>001</ddd>
<eee>the eXtensible Stylesheet Language</eee>
</bbb>
</aaa>
1.xsl-----------------------------------------------------
<?xml version="1.0"?>
<html xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<body style="font-size:12pt;background-color:blue">
<xsl:for-each select="aaa/bbb">
<div style="background-color:green;color:white;padding:4px">
<span syle="font-weight:bold;color:white">
ccc:<xsl:value-of select="ccc"/>
</span>
<p>ddd:<xsl:value-of select="ddd"/></p>
<p>eee:<xsl:value-of select="eee"/></p>
</div>
<div style="background-color:yellow;color:red;
font-size:9pt;margin-bottom:10pt;">
<p><center><xsl:value-of select="fff"/></center></p>
</div>
<div style="background-color:orange;color:green;
font-size:9pt;">
<center><xsl:value-of select="ggg"/></center>
</div>
</xsl:for-each>
</body>
</html>