Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 47051 invoked from network); 6 Nov 2000 19:16:28 -0000 Received: from is-callahan.gwl.com (firewall-user@143.199.125.10) by locus.apache.org with SMTP; 6 Nov 2000 19:16:28 -0000 Received: by is-callahan.gwl.com; id MAA13418; Mon, 6 Nov 2000 12:16:44 -0700 Received: from is-news(143.199.103.8) by is-callahan.gwl.com via smap (V4.2) id xma013356; Mon, 6 Nov 00 12:16:42 -0700 Received: from is-mailman.gwl.com (is-mailman [143.199.103.100]) by is-news.gwl.com (8.9.3/8.9.3/EMH1.6) with ESMTP id MAA29631 for ; Mon, 6 Nov 2000 12:17:34 -0700 (MST) Received: from ind-evans.gwl.com (ind-evans.gwl.com [143.199.12.10]) by is-mailman.gwl.com (8.9.3/8.9.3/IMH1.8) with ESMTP id MAA07596 for ; Mon, 6 Nov 2000 12:17:32 -0700 (MST) Received: by ind-evans.gwl.com with Internet Mail Service (5.5.2448.0) id ; Mon, 6 Nov 2000 12:16:19 -0700 Message-ID: <66B7B13B552CD311A9020090277A41D1023FC5E2@ind-evans.gwl.com> From: "Typrowicz, Jim" To: "'cocoon-users@xml.apache.org'" Subject: RE: Help wanted: different stylesheets Date: Mon, 6 Nov 2000 12:16:08 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C04826.0A752FBA" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C04826.0A752FBA Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01C04826.0A752FBA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Help wanted: different stylesheets

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

------_=_NextPart_001_01C04826.0A752FBA--