Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Newbie problem with XSLT...

Reply
Thread Tools

Newbie problem with XSLT...

 
 
Brian Wohldmann
Guest
Posts: n/a
 
      11-30-2003
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"
xmlnssl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/FLIGHTINFO">
..
..
..
 
Reply With Quote
 
 
 
 
Ray Tayek
Guest
Posts: n/a
 
      11-30-2003
Brian Wohldmann wrote:
> 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
---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/
 
Reply With Quote
 
 
 
 
Dimitre Novatchev
Guest
Posts: n/a
 
      11-30-2003
Change:

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


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" <> wrote in message
news: om...
> 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"
> xmlnssl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:template match="/FLIGHTINFO">
> .
> .
> .



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie with newbie questions JohnE ASP .Net 3 08-17-2009 10:10 PM
VONAGE Newbie w/newbie question New_kid@nowhere.new VOIP 0 08-11-2007 01:40 PM
another newbie question from another newbie.... Lee UK VOIP 4 05-17-2005 04:10 PM
newbie: cisco vlan newbie question No Spam Cisco 3 06-07-2004 10:02 AM
Newbie! I'm a newbie! What's wrong with this program? Id0x Python 4 07-20-2003 11:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57