Bonsoir JC :)
I have asked the same question as (many!) others before
(it's all in the list archives... shame on us :) )
you *must* use an 'include' element for xinclude to work:
<xsp:element name="include">
...

-----Message d'origine-----
I would like to include the content of a file into my xsp 
page.
So I think I need to use this : (to generate the xinclude 
dynamicaly)
<xsp:element name="whatever">
        <xsp:attribute 
name="xinclude:href"><xsp:expr>file</xsp:expr></xsp:attrib
ute>
        <xsp:attribute 
name="xinclude:parse">xml</xsp:attribute>
</xsp:element>

But it's not work : I've got the "whatever" tag in my xml 
flow result but nothing from my file.
Thanks for your help
JC

---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to