Newbie problem with XSLT...

Brian Wohldmann

Usenet Archive
Joined
Nov 30, 2003
Messages
1
Reaction score
0
I'm working on a XML/XSL markup for class. Upon finishing it, I couldn't get IE to display the transformed XML output to me, all I kept getting was the untransformed XML Tree View that IE uses.

My XML is well-formed and validated. I transformed the files with a program called 'XMLSpy', and it worked fine (using both the built-in XSLT processor and the MSXML processor).

So why can't I get IE to properly display the XML? Any help would be greatly appreciated. The files can be viewed:

http://www.atthefrontsystems.com/xls/flight.xml http://www.atthefrontsystems.com/xls/tablestyle.xsl

----
Head of flight.xml
----
<?xml version="1.0"?>
<?xml-stylesheet type="text/xml"
href="http://www.atthefrontsystems.com/xls/tablestyle.xsl"?>

<!DOCTYPE FLIGHTINFO [
..
..
..

----
Head of tablestyle.xsl
----
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/FLIGHTINFO">
..
..
..
 

Ray Tayek

Usenet Archive
Joined
Dec 23, 2001
Messages
37
Reaction score
0
Brian said:
I'm working on a XML/XSL markup for class. Upon finishing it, I couldn't get IE to display the transformed XML output to me, all I kept getting was the untransformed XML Tree View that IE uses. ... http://www.atthefrontsystems.com/xls/flight.xml

i'm a newbie also, but the above file looks like a nice table when viewed with mozilla, so maybe it's something peculiar to ie. try some other browsers and see what happens.

hth
 

Dimitre Novatchev

Usenet Archive
Joined
Nov 7, 2000
Messages
737
Reaction score
0
Change:

to

<?xml-stylesheet type="text/xsl"
href="http://www.atthefrontsystems.com/xls/tablestyle.xsl"?>

and then IE will perform the transformation.

=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

Brian Wohldmann said:
I'm working on a XML/XSL markup for class. Upon finishing it, I couldn't get IE to display the transformed XML output to me, all I kept getting was the untransformed XML Tree View that IE uses.

My XML is well-formed and validated. I transformed the files with a program called 'XMLSpy', and it worked fine (using both the built-in XSLT processor and the MSXML processor).

So why can't I get IE to properly display the XML? Any help would be greatly appreciated. The files can be viewed:

http://www.atthefrontsystems.com/xls/flight.xml http://www.atthefrontsystems.com/xls/tablestyle.xsl

----
Head of flight.xml
----
<?xml version="1.0"?>
<?xml-stylesheet type="text/xml"
href="http://www.atthefrontsystems.com/xls/tablestyle.xsl"?>

<!DOCTYPE FLIGHTINFO [
.
.
.

----
Head of tablestyle.xsl
----
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/FLIGHTINFO">
.
.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,798
Members
249,594
Latest member
henrywalsh

Latest Threads

Top