Hi Jan,
I downloaded the latest version of Orion and under
orion\default-web-app\examples\xsl you should find the example.

But, should not the orion server do the conversion and send html to the
browser, because, that would
make more sense and make the process browser independent.

I am very sure that I am missing something here. I am not sure what. I would
definetly appreciate some help 
on this.
Thanks,
Manoj 



-----Original Message-----
From: "Jan Tye" [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 3:58 PM
To: "Orion-Interest" 
Subject: RE: xml,xsl in orion


The Netscape 4.xx browsers do not support XSL.
AOL 6.0 is supposed to support XSLT but I have not checked this out.

I would like to check out the doc.xml demo.
Where do I download it from?

Thanks, Jan.

At 01:29 PM 11/1/00 -0500, you wrote:
>Hi friends,
>   I was able to get the doc.xml working under IE, but Netscape(4.74)
>displays a blank page, although, it displays the XML source when I do
>the view source.
>   Is it a know issue under Netscape?
>   The other question is, I always thought that the conversion is being
done
>on the server side, but, it does not look so, because I can see the XML
>document when I do 'View Source'.
>   Would appreciate some feedback on it.
>Thanks,
>Manoj
>
>
>-----Original Message-----
>From: "Johan Fredriksson" [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, November 01, 2000 3:26 AM
>To: "Orion-Interest"
>Subject: RE: xml,xsl in orion
>
>
>It depends on what you want to achieve with this. The easiest thing is to
>edit
>
>mime.types
>
>and change the
>
>text/xml            xml ent cat sty
>
>to
>
>text/html            xml ent cat sty
>
>or move the xml entry to an existing text/html
>
>This will force internet explorer to display the xml - document properly.
>
>----- Original Message -----
>From: Terence  <mailto:[EMAIL PROTECTED]> Kwan
>To: Orion-Interest <mailto:[EMAIL PROTECTED]>
>Sent: Wednesday, November 01, 2000 7:33 AM
>Subject: xml,xsl in orion
>
>I am trying out the examples/xsl/data.xml demo. However, the browser think
>the
>returned stream is xml instead of html.  How can I set the return stream
>type to
>html for xml file? So the browser will display the result in html instead
of
>xml.
>
>Basically, I want to do the following:
>
>Thanks
>
>TK
>
>----- car.xml -----
><?xml version="1.0?>
><?xml-stylesheet href="car.xsl" type="text/xsl"?>
>
><%  // Query database to get car information
>       String sCarName="Toyota";
> %>
>
><car>
>    <name><%=sCarName%></name>
></car>
>---- car.xsl --------
><?xml version="1.0"?>
><xsl:stylesheet xmlns:xsl=" http://www.w3.org/1999/XSL/Transform
><http://www.w3.org/1999/XSL/Transform> " version="1.0">
><xsl:output method="html"/>
>
><xsl:template match="car">
> <html>
>   <head>
>     <title>Car
>     </title>
>   </head>
>    <body>
><h1><xsl:value-of select="name"/></h1>
>   </body>
> </html>
></xsl:template>
>
></xsl:stylesheet>
>
>

Reply via email to