I have this error when I try to access my index.php page that
uses xsl to translate an xml file. It is part of a tutorial so I
can't tell you if the xml is accurate or not.
Any idea what this refers to:
MM_XSLTransform error.
feed.xml is not a valid XML document.
Non-static method DOMDocument::loadXML() should not be called
statically, assuming $this from incompatible context in file
feed.xml.
I tried an RSS source from wired.com and also have the same
error
MM_XSLTransform error.
http://www.wired.com/news/feeds/rss2/0,2610,,00.xml
is not a valid XML document.
Non-static method DOMDocument::loadXML() should not be called
statically, assuming $this from incompatible context in file
http://www.wired.com/news/feeds/rss2/0,2610,,00.xml.
the actual code that is the feeder in .php is:
<?php
$mm_xsl = new MM_XSLTransform();
$mm_xsl->setXML("
http://www.wired.com/news/feeds/rss2/0,2610,,00.xml");
$mm_xsl->setXSL("moreNews.xsl");
echo $mm_xsl->Transform();
?>
<?php
$mm_xsl = new MM_XSLTransform();
$mm_xsl->setXML("feed.xml");
$mm_xsl->setXSL("news.xsl");
echo $mm_xsl->Transform();
?>
would appreciate any insight, never worked on this before
Kevin