cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasko Kokic <drasko_ko...@yahoo.com>
Subject RE: Logicsheet chaining
Date Tue, 03 Jul 2001 11:18:47 GMT
Not compleatly true ... it is possible to apply
multiple logicsheets ... just add them one after the
other in the XSP file.  The different thing is with
the stylesheet chaining ... there you have to mess
around and introduce in the resulting XML stream the
XSLT processing instruction (together with the
reference to the next stylesheet).

So, it is possible in C1 too (just not elegant at
all).

HTH
Drasko

--- Luca Morandini <l.moran@tin.it> wrote:
> Matteo,
> 
> 	I think there is no way of accomplishing this with
> C1. On the other hand,
> this could be done quite easily in C2.
> 
> 	I'm afraid, but if you want to use more than one
> logicsheet/tag library you
> have no option but use C2.
> 
> Best regards,
>  
> ---------------------------------------------
>                Luca Morandini
>                GIS Consultant
>             lmorandini@ieee.org
>           +39 0744 59  85  1 Office
>           +39 0335 681 02 12 Mobile
> http://utenti.tripod.it/lmorandini/index.html
> ---------------------------------------------
> 
> 
> > -----Original Message-----
> > From: Matteo Colombo [mailto:mtcolom@inwind.it]
> > Sent: marted́ 3 luglio 2001 11.57
> > To: cocoon-users@xml.apache.org
> > Subject: Re: Logicsheet chaining
> >
> >
> > Hi,
> > I try to explain me better:
> >
> > What I want do,it is something like that.
> >  a.xml
> > <?xml-stylesheet href="b.xsl" type="text/xsl"?>
> > <?xml-logicsheet href="../mylogic.xsp.xsl"?>
> > <?cocoon-process type="xsp"?>
> > <?cocoon-process type="xslt"?>
> > ...
> > <my:call> ... tag mapped in mylogic.xsp.xsl ...
> </my:call>
> > ...
> > b.xsl:
> > <xsl:template match="/">
> >   <xsl:processing-instruction
> name="xml-stylesheet">href="c.xsl"
> > type="text/xsl"</xsl:processing-instruction>
> >   <xsl:processing-instruction
> >
>
name="xml-logicsheet">href="../mylogic2.xsp.xsl"</xsl:processing-i
> nstruction
> > >
> >   <xsl:processing-instruction
> >
>
name="cocoon-process">type="xsp"</xsl:processing-instruction>
> >   <xsl:processing-instruction
> >
>
name="cocoon-process">type="xslt"</xsl:processing-instruction>
> > ...
> > <xsl:template match="result">
> >         <my2:call>...tag mapped in
> mylogic2.xsp.xsl...</my2:call>
> > ...
> >
> > In a.xml I use mylogic.xsp.xsl (my taglib), and
> with b.xsl I want add
> > mylogic2.xsp.xsl (another taglib).
> >
> > c.xsl: trasforms the page xml in a html page.!
> >
> > Is it possible?
> > Thanks for help
> >
> > Ciao Matteo
> >
> >
> >
> >
>
---------------------------------------------------------------------
> > Please check that your question has not already
> been answered in the
> > FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail:
> <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
> >
> 
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail:
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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