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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -