You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Hans Thomas Nordeck <no...@juwimm.de> on 2002/12/19 11:49:50 UTC

reference stylesheet in xml document

Is there a simple way to reference a stylesheet directly in the xml file and not in the Sitemap? 

In the XML document this syntax:

<?xml-stylesheet href="xyz.xsl" type="text/xsl"?>

What do I have to write in the sitemap? As far as I know I alway have to specify the  Stylesheet for the transformer. Do I need an action that graps the information out of the XML so that i can use it in the matcher? Or is there a more simple way?

Hato