Solved

XML/XSLT

Posted on 2002-07-03
1
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
higijj earned 300 total points
ID: 7127533
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
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…

733 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