?
Solved

XML/XSLT

Posted on 2002-07-03
1
Medium Priority
?
348 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 1200 total points
ID: 7127533
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article discusses how to create an extensible mechanism for linked drop downs.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

741 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