cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Spinetti" <m.spine...@pisa.iol.it>
Subject R: Logicsheet chaining
Date Tue, 03 Jul 2001 07:13:44 GMT
yes it is possible. I suppose you are using cocoon1.8.2.
With cocoon 1.8.2 I have done a similar trasformation:
1) a.xml->b.xsl->c.xsl->page.html
where:
a.xml:
..............
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="b.xsl" type="text/xsl"?>
<?xml-stylesheet href="other.xsl" type="text/xsl" media="explorer"?>
..........

b.xsl:
.......
<xsl:template match="page">
<xsl:processing-instruction
name="cocoon-process">type="xslt"</xsl:processing-instruction>
<xsl:processing-instruction name="xml-stylesheet">href="c.xsl"
type="text/xsl"</xsl:processing-instruction>
.................

c.xsl: trasforms the page xml in a html page.

With cocoon2 the things are much more easy.

Marco


----- Original Message -----
From: Matteo Colombo <mtcolom@inwind.it>
To: <cocoon-users@xml.apache.org>
Sent: Tuesday, July 03, 2001 9:08 AM
Subject: Logicsheet chaining


> Hi all,
> I've this question for you:
>
> XML A with <?xml-logicsheet href="my-xsp.xsl"?>  --> XSL A (transform XML
A
> in XML B adding
> <?xml-logicsheet herf="new-xsp.xsl?> and the instructions that are in new
> logicsheet)-->XSL
> B (format the page: output type HTML).
> Does it work?
> Is it possible to do this?
> Better, my question is: Is it possible transform
> an XML file in another XML that use a new logicsheet (that wasn't in the
> original XML file)?
>
> 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>


Mime
View raw message