|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Netscape Problem
My files work fine on Netscape 7.1 when I load them locally (file:///C:/Documents%20and%20Settings/U78304/Desktop/Beta/airportList.xml)
But if I run them through my simple www server, I get an error: Error loading stylesheet: An unknown error has occurred (804e03f3)http://localhost/airportList_Filter.xsl I have no problems with IE. It works properly both ways. My files are listed below: airportList.xml: ----------------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Edited with XML Spy v4.2 --> <?xml-stylesheet type="text/xsl" href="airportList_Filter.xsl"?> <information> <airport> <ID>BWI</ID> <name>Baltimore Washington, MD</name> <peak>1 hour 30 minutes</peak> <offpeak>60 minutes</offpeak> <ticketopen>4:00 a.m.</ticketopen> <ticketclose>9:00 p.m.</ticketclose> <peaktraffic>Monday - Saturday 5:00 a.m. - 9:00 a.m., Friday - Saturday 3:00 p.m. - 7:00 p.m.</peaktraffic> <curbsidecheckin>Available</curbsidecheckin> <kiosks>Available</kiosks> <priority>Available</priority> </airport> </information> airportList_Filter.xsl ---------------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Edited with XML Spy v4.2 --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <table> <tr> <th>ID</th> <th>Name</th> </tr> <xsl:for-each select="information/airport"> <tr> <td><xsl:value-of select="ID"/></td> <td><xsl:value-of select="name"/></td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl:stylesheet> ---------------------------------- Any help would be appreciated! Thanks! - Eric |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Netscape Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|