XSLT Processor available?

Status
Not open for further replies.

epoclaen

Member
Messages
79
Reaction score
0
Points
6
I wanted to try using XML on my website but I am getting an error that says:
MM_XSLTransform error.
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 see similar threads that ask the same thing but all are marked simply as "resolved" without offering any solutions.

Any suggestions?

Thanks!
Jeff
Edit:
I tracked down this error to find that Adobe Dreamweaver is using the get_loaded_extensions() PHP function to test for valid XSLT parsing processors. The returned array yields:
0 = xmlwriter
1 = libxml
2 = dom
3 = xmlreader
4 = xml
5 = tokenizer
6 = session
7 = pcre
8 = SimpleXML
9 = sockets
10 = soap
11 = SPL
12 = standard
13 = Reflection
14 = pspell
15 = posix
16 = mysqli
17 = mysql
18 = mcrypt
19 = mbstring
20 = json
21 = imap
22 = iconv
23 = hash
24 = gettext
25 = gd
26 = ftp
27 = filter
28 = exif
29 = date
30 = curl
31 = ctype
32 = calendar
33 = bcmath
34 = zlib
35 = openssl
36 = cgi
37 = suhosin
38 = Zend Optimizer

For PHP version 5 (what I seem to be using on x10hosting) it looks for the 'dom', 'xsl', 'DOMDocument' & 'XSLTProcessor' extensions before setting the class's "processor" to 'domxml5' which simply uses the DOMDocument engine to process the XSLT.

Any idea how to bypass or adjust this to use the x10hosting XML extensions?
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
I don't think we have an XSLT processor.
 

epoclaen

Member
Messages
79
Reaction score
0
Points
6
Yeah, it looks like the XMLWRITER, LIBXML, XMLREADER, XML and SIMPLEXML extensions all seem not to handle parsing XML data. Bummer!
Edit:
Is it possible to upload the Sablotron and expat libraries and to enable them ourselves?

Jeff
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
No, users are not allowed to activate modules themselves.
 

epoclaen

Member
Messages
79
Reaction score
0
Points
6
Thanks Brandon,
That tells me all I needed to know. I'll close this thread and mark it as resolved.
 
Status
Not open for further replies.
Top