cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject RE: why just source!?
Date Wed, 28 Jun 2000 13:37:43 GMT
> You need to add processing instructions in your XSP like this:
> 
> <xsl:processing-instruction
> name="cocoon-process">type="xsp"</xsl:processing-instruction>
> <xsl:processing-instruction
> name="cocoon-process">type="xslt"</xsl:processing-instruction>
> <xsl:processing-instruction
> name="xml-stylesheet">href="mystylesheet.xsl"
> type="text/xsl"</xsl:processing-instruction>
> 
> Otherwise the resulting page will not have any PIs and processing is
> stopped - logical, no? :)
Makes sense... but I thought the 

<?cocoon-process type="xsp"?> 
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="index.xsl" type="text/xsl"?>

in the XSP file would do that... ?
--
Torsten

Mime
View raw message