Skip to main content
April 19, 2008
Question

MM_XSLTransform error The server could not perform...

  • April 19, 2008
  • 1 reply
  • 860 views
Hey everybody!

Thanks for all the help that has already been given. I have learned a great deal of great stuff! I do, however, have a small problem.
I have used XSL to place an RSS feed into a php web page using Dreamweaver CS3. The XSL is a fragment and the code written by Dreawmeaver via the Application panel. I also have updated Dreamweaver to the newest everything and just double checked a second ago in Help>Updates...
The RSS feed is a Blogger blog and I have the feed hosted by feedBurner and everything works fine on my Testing server, but when I upload it to the live web I do not see anything unless I check the source code which lists this in the div where the RSS feed should be: "MM_XSLTransform error.<br>The server could not perform the XSL transformation because an XSLT processor for PHP could not be found. Contact your server administrator and ask them to install an XSLT processor for PHP."

I have checked out two other threads I found on Adobe's forums:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=263&threadid=1175240&highlight_key=y&keyword1=MM%5FXSLTransform%20error
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=263&threadid=1284324&enterthread=y#4645213

but neither solution seems to work, I am not super great with php or xml (yet!) but I can find my way around and if the correct solution is in one of the other threads could you just let me know where the "fix" code should go...with the php? or xsl?

My XSL code is as follows:
<?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource=" http://feeds.feedburner.com/TestingBlogAllPostsCopiedFromWikipediacom" --><!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp "&#160;">
<!ENTITY copy "&#169;">
<!ENTITY reg "&#174;">
<!ENTITY trade "&#8482;">
<!ENTITY mdash "&#8212;">
<!ENTITY ldquo "&#8220;">
<!ENTITY rdquo "&#8221;">
<!ENTITY pound "&#163;">
<!ENTITY yen "&#165;">
<!ENTITY euro "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" xmlns:atom=" http://www.w3.org/2005/Atom" xmlns:feedburner=" http://rssnamespace.org/feedburner/ext/1.0" xmlns:opensearch=" http://a9.com/-/spec/opensearchrss/1.0/" xmlns:atom10=" http://www.w3.org/2005/Atom">
<xsl:output method="html" encoding="utf-8"/>
<xsl:param name="itemsPerPage" select ="1" />
<xsl:template match="/">
<xsl:for-each select="rss/channel/item[position() &lt;= $itemsPerPage]">
<h2 class="h2_class"><xsl:value-of select="title"/></h2>
<h3 class="h3_class"><xsl:value-of select="pubDate"/></h3>
<a href="{link}">Link to Full Post</a>
<p><xsl:value-of select="description" disable-output-escaping="yes"/></p>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

If anybody can help me with this problem, maybe I have overlooked some little "not-so irrelevant" thing, or maybe I am not placing that block of code from the other thread in the right place, or maybe do I need to get a hold of my host and try to persuade them to do what the error is prompting?


If you can help I deeply appreciate it!
Have a great day!
Nathan
This topic has been closed for replies.

1 reply

Inspiring
April 20, 2008
Sounds like your web host needs to enable XSL on the server.

Put this on a .php page and upload it to you server and run it:

<?php phpinfo() ?>

Search for XSL on the page to see if it is enabled.

If you do not find it ask your web host to enable it. It is enabled in the
php.ini file by uncommenting the extension:

;extension=php_xsl.dll

should be:

extension=php_xsl.dll


--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"nathaniel_1989" <webforumsuser@macromedia.com> wrote in message
news:fudsqe$fl0$1@forums.macromedia.com...
> Hey everybody!
>
> Thanks for all the help that has already been given. I have learned a
> great
> deal of great stuff! I do, however, have a small problem.
> I have used XSL to place an RSS feed into a php web page using Dreamweaver
> CS3. The XSL is a fragment and the code written by Dreawmeaver via the
> Application panel. I also have updated Dreamweaver to the newest
> everything and
> just double checked a second ago in Help>Updates...
> The RSS feed is a Blogger blog and I have the feed hosted by feedBurner
> and
> everything works fine on my Testing server, but when I upload it to the
> live
> web I do not see anything unless I check the source code which lists this
> in
> the div where the RSS feed should be: "MM_XSLTransform error.<br>The
> server
> could not perform the XSL transformation because an XSLT processor for PHP
> could not be found. Contact your server administrator and ask them to
> install
> an XSLT processor for PHP."
>
> I have checked out two other threads I found on Adobe's forums:
>
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=26
> 3&threadid=1175240&highlight_key=y&keyword1=MM%5FXSLTransform%20error
>
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=26
> 3&threadid=1284324&enterthread=y#4645213
>
> but neither solution seems to work, I am not super great with php or xml
> (yet!) but I can find my way around and if the correct solution is in one
> of
> the other threads could you just let me know where the "fix" code should
> go...with the php? or xsl?
>
> My XSL code is as follows:
> <?xml version="1.0" encoding="utf-8"?><!--
> DWXMLSource=" http://feeds.feedburner.com/TestingBlogAllPostsCopiedFromWikipediac
> om" --><!DOCTYPE xsl:stylesheet [
> <!ENTITY nbsp "&#160;">
> <!ENTITY copy "&#169;">
> <!ENTITY reg "&#174;">
> <!ENTITY trade "&#8482;">
> <!ENTITY mdash "&#8212;">
> <!ENTITY ldquo "&#8220;">
> <!ENTITY rdquo "&#8221;">
> <!ENTITY pound "&#163;">
> <!ENTITY yen "&#165;">
> <!ENTITY euro "&#8364;">
> ]>
> <xsl:stylesheet version="1.0"
> xmlns:xsl=" http://www.w3.org/1999/XSL/Transform"
> xmlns:atom=" http://www.w3.org/2005/Atom"
> xmlns:feedburner=" http://rssnamespace.org/feedburner/ext/1.0"
> xmlns:opensearch=" http://a9.com/-/spec/opensearchrss/1.0/"
> xmlns:atom10=" http://www.w3.org/2005/Atom">
> <xsl:output method="html" encoding="utf-8"/>
> <xsl:param name="itemsPerPage" select ="1" />
> <xsl:template match="/">
> <xsl:for-each select="rss/channel/item[position() <= $itemsPerPage]">
> <h2 class="h2_class"><xsl:value-of select="title"/></h2>
> <h3 class="h3_class"><xsl:value-of select="pubDate"/></h3>
> <a href="{link}">Link to Full Post</a>
> <p><xsl:value-of select="description"
> disable-output-escaping="yes"/></p>
> </xsl:for-each>
> </xsl:template>
> </xsl:stylesheet>
>
> If anybody can help me with this problem, maybe I have overlooked some
> little
> "not-so irrelevant" thing, or maybe I am not placing that block of code
> from
> the other thread in the right place, or maybe do I need to get a hold of
> my
> host and try to persuade them to do what the error is prompting?
>
>
> If you can help I deeply appreciate it!
> Have a great day!
> Nathan
>
>

April 25, 2008
Hey Ken,

I am looking into that and will get back to you/ the forum when I hear back from the hosting company.

Thanks a million for our time!
Have a great day!
Nathan