Solved

XML/XSLT

Posted on 2002-07-03
1
337 Views
Last Modified: 2013-11-18
I got php script that provide an XML and I want to have the possibility to append &xslfile=http://www.mydomain.com/mysxlfile.xsl

which would produce xhtml :)

They way I did it work only with IE since it only add the following lines:

     if (isset($xslfile))
     {
          print "<?xml-stylesheet type=\"text/xsl\" href=\"$xslfile\"?>\n\n";
     }

instead of actually transforming the XML into XHTML. so when user view the source, they see the XML, not html. The problem, is that this only works with IE since it is IE that do the transformation client side. I know there is a way to do the transformation server side, but I can't find it :(

Your help is appreciated!

0
Comment
Question by:kuist
1 Comment
 
LVL 2

Accepted Solution

by:
higijj earned 300 total points
ID: 7127533
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Encode a password 2 38
Responsive Design Tools 6 38
Adding Extra Information box 4 25
Return data with AJAX, JQUERY and PHP 13 34
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now