• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP AND XML IN NETSCAPE

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, i hope someone can help me with this problem:
I'm using JSP, I need the content of my page to be XML, because I must apply a xslt transformation on the client side.
To get that, I put at the beginning of the jsp page:
<%@ page contentType="text/xml"%>
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="pmathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
...........
...........
...........
<jsp:............../>
...........

With IE there's no problem, everything is right, but with Netscape 7.0, my page isn't right, the page doesn't display well, I mean, the different parts of the page don't display where they're supposed to do. It is not problem of my page, because if I don't put the line
<%@ page contentType="text/xml"%>
the page displays right, but that way the stylesheet is not applied, because I haven't indicated that is a xml document. Has anyone a solution for this problem??
Thanks in advance,
Gloria
 
See where your hand is? Not there. It's next to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic