cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Processing embedded stylesheets
Date Mon, 20 Nov 2000 12:39:11 GMT
Tobias Kiesling <kiesling@informatik.uni-muenchen.de> wrote:
>I know, this question should go to a Xalan-List, but there is no
>xalan-users list available, so I chose to put it here.

You obviously haven't read http://xml.apache.org/cocoon/mail-lists.html

>I've got a problem processing a stylesheet embedded in an
>xml-document. According to the XSLT-Standard this should work by
>including a processing instruction referring to the
>xsl:stylesheet-element in the same document by using a
>fragment-identifier.
>The PI would look something like this:
>  <?xml-stylesheet href="#styler" type="text/xsl"?>
>
>The target stylesheet-element looks like this:
>  <xsl:stylesheet version="1.0" id="styler" xmlns:xsl="...">
>
>When I try to process the document, cocoon simply states, that it
>couldn't find the stylesheet /usr/local/blah/#styler .
>I tried the Tranformation with Xalan alone (not in the cocoon-process)
>and the results were almost the same: Xalan stated, that it couldn't
>find the Stylesheet.

Looks like a Xalan bug then. send it to xalan-dev.

>
>Xalan claims to conform to the XSLT-Standard. Is this true (and I have
>done something wrong) or isn't it possible to process embedded
>stylesheets in the cocoon-publishing-process ?

Well Cocoon is all about separation of concerns, so that explains why we 
don't support it. But if you can give a good reason why this should be 
supported, I'll listen.



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message