PDA

View Full Version : Include XML output via PHPINCLUDE


dprundle
03-18-2008, 03:57 PM
I am running Logician's Webtemplate hack for VB and trying to get XML output to display on the page.

The xml I wish to display is here: http://www.warcraftmmo.com/stats/stats.xml

However,
When it displays on my page it is displaying unthemed and as plain text without the styling attributes defined by the .XSL file.

Is there a way to include the browser output of a XML file into vbulletin?

In short, I'd like to display the output of http://www.warcraftmmo.com/stats/stats.xml onto http://myvbulletinsite.com/view.php?pg=status

Thanks!

nexialys
03-18-2008, 04:07 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a> will help you...

dprundle
03-18-2008, 04:14 PM
Thanks, however Logician's Webtemplates already creates the custom page for me. I don't have problem creating the custom page, I'm having problem getting the XML to display as formatted HTML inside of the page.

--------------- Added 1205870715 at 1205870715 ---------------

Thanks, however Logician's Webtemplates already creates the custom page for me. I don't have problem creating the custom page, I'm having problem getting the XML to display as formatted HTML inside of the page.

I solved this problem and it was quite a mess to get working. If you're having the same problem please research: Php4's xslt_create(). If you need help send me a PM.