xml - How can i link an xsl page into my php page? -


I have an XML page that contains PHP, hence its name is xml.php

I have There is also an XSL Style Sheet that will have my XML.php page

but I need to link the xls page in my php page. I

  " 

because my page is .php? Thanks

  & lt ;? php // XML source $ load R Xml = New DOMDocument; $ xml- & gt; Load ('collection.xml'); $ xsl = New DOMDocument; $ xsl- & gt; Load ('collection.xsl'); // Transformer $ proc = New XSLTrocessor Configure; $ Proc-> Import Style Sheet ($ xsl); // XSL rules to $ proc-> TransformTaxML ($ xml) ;? & gt;  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -