[xsl] PHP with XML/XSL in Webbrowser

Subject: [xsl] PHP with XML/XSL in Webbrowser
From: Martin Gundersen <mgu@xxxxxxxxxxxxxx>
Date: Thu, 26 Sep 2002 09:23:22 +0200
Hi,
I've created a homepage using XML/XSL (at least I think so - it works, and
it looks OK :-) ).  Since this is a webpage it is "parsed/rendered" by the
browser (i.e.Internet Explorer).
Now I want to add PHP-scripting to the page (guestbook etc.), but I can't
get it to work.
PHP needs dot-PHP-extensions on the files, and Internet Explorer (or the
webserver?) needs dot-XML-extension to parse/render it as XML with the
XSL-file.
I've added PHP-scripting to the XSL file, but when I call the XML file the
scripting is ignored.
If I rename the .XML fila to .PHP I get an errormessage "Parse error" (from
PHP or Apache I think)

I'm new to all this (XML, XSL and PHP) and some terms might be wrong.  Take
a look at www.fagu.net/xml/fagu.xml to see how it works.

Thanks in advance for any help!

Regards
Martin Gundersen
martin@xxxxxxxxxxxxx
Oslo, Norway

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread