cocoon-users mailing list archives

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

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

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


-----Original Message-----
From: Yngve Svendsen []
Sent: Monday, November 06, 2000 8:03 AM
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

Yngve Svendsen
IS Engineer
Clustra AS, Trondheim, Norway

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

View raw message