You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Richard Duim <rd...@intercommit.nl> on 2000/02/15 10:10:22 UTC
Cocoon can't find [browser] template
Hi,
When using the folowing (see below) start of the xml-document, cocoon starts
aplying a template depending on the agent. i.e. it's looking for netscape or
explorer template.
The reason for having the xsp:page tag before the reference to the xslt
declaration is because I want to be able to process the xsl href.
How to prevent cocoon from applying the agentspecific template??
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<xsp:page
language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
<?xml-stylesheet href="polisvw.xsl" type="text/xsl"?>
Gr Richard