You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by do...@sharing.com on 2002/03/04 22:03:51 UTC
Xinclude + cocoon pseudo protocol
Hi,
I need to perform some inclusions into an XSL stylesheet using the cocoon
pseudo-protocol.
what i've tried to do is have two pipelines in my sitemap.
The main pipeline generates a XML file, which is transformed with an XSL
stylesheet, then serialized into XML.
In the stylesheet, i'm trying to include some XML which is coming from the
second pipeline.
<xsl:template match="whatever">
<xinclude:include base="cocoon:/" href="xincludetest/"/>
</xsl:template>
My second pipeline is matching this pattern "xincludetest".
it is generating a foo XML stream from a foo XML file then serializes it in
XML too.
I just want to try to get this foo XML stream into my stylesheet.
The aim of this test is to be able to call a XMLDB query on a XMLDB
database through this second pipeline.
if anybody could help .... :))
Tin
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Xinclude + cocoon pseudo protocol
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: doan-tin.le@sharing.com [mailto:doan-tin.le@sharing.com]
>
> Hi,
>
> I need to perform some inclusions into an XSL stylesheet using the
cocoon
> pseudo-protocol.
> what i've tried to do is have two pipelines in my sitemap.
> The main pipeline generates a XML file, which is transformed with an
XSL
> stylesheet, then serialized into XML.
> In the stylesheet, i'm trying to include some XML which is coming from
the
> second pipeline.
>
> <xsl:template match="whatever">
> <xinclude:include base="cocoon:/" href="xincludetest/"/>
> </xsl:template>
>
> My second pipeline is matching this pattern "xincludetest".
> it is generating a foo XML stream from a foo XML file then serializes
it in
> XML too.
>
> I just want to try to get this foo XML stream into my stylesheet.
>
> The aim of this test is to be able to call a XMLDB query on a XMLDB
> database through this second pipeline.
>
> if anybody could help .... :))
... you just forgot to mention what's the problem, otherwise I sure help
would be under way ;)
Vadim
>
>
> Tin
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>