cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Smith <>
Subject RE: Invoking differennt Stylesheets fro the same XML document
Date Mon, 27 Nov 2000 07:50:07 GMT
Instead of hardcoding an <?xml-stylesheet?> attribute at the top of the
page, you can use the following XSP tag to write one at runtime:
<xsp:pi target="xml-stylesheet">
In this example, "xsl" is a Java variable which has been calculated earlier
in the document, and just contains a url (eg: "mystylesheet.xsl").  This tag
can go anywhere inside your root element.

-----Original Message-----
From: Radha Vijayaraghavan []
Sent: Monday, 27 November 2000 4:46 PM
Subject: Invoking differennt Stylesheets fro the same XML document

Hi all
Could you please tell me how to invoke different
stylesheets for the same XML document, the user is
provided with a set of links all of which lead to
different parts of the same document. How is it
possible to call different stylesheets on going to
different links. All the stylesheets are for the same
Thanks a lot

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message