• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT browser support

 
manoj pillai
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to use xsl just like we use css for rendering pages? If so how's the browser support for the same? It would defenitely mean something if we could offload some of the formatting to the browser - considering the jsp page loading times that we have to suffer with some of the big pages sometimes.
[ July 16, 2004: Message edited by: manoj p ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is possible to defer page transformation to the browser -- assuming that you know the user's browser supports XSL transformations. The way you can accomplish this is to include a processing instruction such as
<?xml-stylesheet type="text/xsl" href="the URL for your stylesheet"?>
into the XML document you send to the browser.
[ July 19, 2004: Message edited by: Lasse Koskela ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic