This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PHP with XML/XSL in Webbrowser


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@gundersen.com
Oslo, Norway

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]