You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Maximilian Rehm <m....@netnolix.com> on 2000/12/27 18:27:05 UTC

xinclude

Hi

I am trying to include one xml file within another with the following syntax

<xinclude:include href="products.xml" />

In my xsl stylesheet I then try to reference the data in the included xml
file with

<xsl:apply-templates select="products/product" />

However, no output is displayed and I don't get any error messages.  When I
paste the second xml file directly into the first one everything works fine.
I am using cocoon 1.8.

Thanks in advance for your help
Max


Re: xinclude

Posted by Roman Zamorski <ra...@tenbit.pl>.
Hello Maximilian,

Wednesday, December 27, 2000, 6:27:05 PM, you wrote:

MR> Hi

MR> I am trying to include one xml file within another with the following syntax

MR> <xinclude:include href="products.xml" />
afair this should be sth like:

<include xinclude:parse="xml" xinclude:href="file.xml"/>

correct me if i'm wrong...


-- 
Best regards,
 Roman                            mailto:ramzam@tenbit.pl