cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Typrowicz, Jim" <jim.typrow...@gwl.com>
Subject RE: Help wanted: different stylesheets
Date Mon, 06 Nov 2000 19:16:08 GMT
Yngve,

When I try the solution you refer to on your web site I get an error
message:

org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler)
xsl:processing-instruction not allowed inside a stylesheet!


Jim


-----Original Message-----
From: Yngve Svendsen [mailto:yngve.svendsen@clustra.com]
Sent: Monday, November 06, 2000 8:03 AM
To: cocoon-users@xml.apache.org
Subject: Re: Help wanted: different stylesheets


At 14:47 06.11.2000 +0000, Panagiotis Konstantinidis wrote:

>   Hello there everyone. I have written an XML file that describes a 
> football division (lets say football.xml) and three different stylesheets 
> to convert this information into HTML (football-html.xsl), WMl 
> (football-wml.xsl) and PDF (football-pdf.xsl). The problem is that every 
> time I load the football.xml only the HTML stylesheet is loaded 
> (football-html.xsl). How can I distinguish between the HTML and PDF 
> stylesheets, so the appropriate stylesheet will be called?
>
>   Regards
>
>      Panos

I have described a solution which works well for me at 
http://techsite.yngve.com/web/applystyles.html

Yngve Svendsen
IS Engineer
Clustra AS, Trondheim, Norway
yngve.svendsen@clustra.com


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message