As I see it (and I haven't tested this) then if you write a jsp or servlet
that has repsonse type text/xml then it gets chained to the XSL servlet that
does the transform using the specified stylesheet. This behaviour is defined
in the global-web-application.xml and should therefore apply to all web
apps.

An example header in the XML would be

<?xml version="1.0"?>
<!DOCTYPE doc SYSTEM "doc.dtd">
<?xml-stylesheet href="doc.xsl" type="text/xsl"?>

so the doc.xsl would be applied to the XML output.

Dave Smith
Senior Team Leader
Aristocrat Technologies Australia Pty Ltd

mailto:[EMAIL PROTECTED]


-----Original Message-----
From: Kevin Duffey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 July 2000 9:09
To: Orion-Interest
Subject: RE: how to set up xsl transform


Hi,

I too would love to get a simple demo (if its possible) on how to set up an
XSLT engine, and pass XML + XSL to the engine to get a String of HTML back.
How exactly does this work, and what engine, servlets, etc are used to do
it. Lastly..is it really hard to get working or is this a pretty simple
task?

Thanks.

> How can I setup xsl+xml = html transforming in orion
> not in the default-web-app directory.
>
> Thanks.
>
> Jernej
>


Reply via email to