cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject XSL and XSP
Date Mon, 21 Jan 2002 15:17:12 GMT
Hi !

I have a problem
I want to select my XSL Stylesheet with a parameter in the URL
I use the code joined to that mail

When the <?xml-stylesheet> is commented, i have that error :
org.apache.cocoon.processor.ProcessorException: Could not associate stylesheet 
to document:  no matching stylesheet for: explorer

when I uncomment it, it works, but with the XSL file specified, not the one 
given in the URL as a parameter (page.xml?style=pdf for example)

Please help !!


---Code :------------------------------

<?xml version="1.0"?>

<?cocoon-process type="xsp" ?>
<?cocoon-process type="xslt" ?>

<!-- <?xml-stylesheet href="hello-page-html.xsl" type="text/xsl"?> -->

<xsp:page language="java" xmlns:xsp="" 
        <xsp:processing-instruction target="xml-stylesheet">
name="style"/></xsp:expr>.xsl" type="text/xsl"
          He oui ! Ca marche !
              Cocoon Crash rulez !!


Please check that your question has not already been answered in the
FAQ before posting. <>

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

View raw message