cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <tcu...@dff.st>
Subject Re: changing PI at runtime
Date Wed, 26 Jul 2000 18:16:59 GMT
Ok, I got back to the docs and tried the
following:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>
 <xsp:pi target="xml-stylesheet">
  href="../order1.xsl/html.xsl"
  type="text/xsl"
 </xsp:pi>
          
 <xsl:template match="*|@*|text()">
  ...
 </xsl:template>

 <xsl:template match="page">
  <xsl:processing-instruction name="cocoon-process">
    type="xsp"</xsl:processing-instruction>
  <xsl:processing-instruction name="cocoon-process">
    type="xslt"</xsl:processing-instruction>
  
   >> HERE I REMOVED THE xsl:proc.. <<

  <xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
  ...

But all I get is:

  no matching stylesheet for: explorer

So I guess Cocoon detected I was viewing the page
with an IE and tried to find a stylesheet for that?

How can I control even this in my XSP?
--
Torsten

Mime
View raw message