Hi all,
i'm trying to include an xml fragment
in a xsp page several ways ("included" FAQ way)
but never don't work. I'm using C2.
on following, this way don't work but no error message
is displayed
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page
language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"
xmlns:request="http://apache.org/servlet/request">
>
<page>
<content >
<xinclude:include
href="first.xml" parse="xml"/>
coin
</content>
</page>
</xsp:page>
this one (above) says :
org.apache.cocoon.ProcessingException: Language
Exception:org.apache.cocoon.components.language.LanguageException: Error
compiling result_xsp: Line 75, column 50: '}' expected
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page
language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:util="http://apache.org/cocoon/utils"
xmlns:request="http://apache.org/servlet/request">
>
<page>
<content>
<util:include-file name="../users/first.xml"/>
<util:get-file-contents name="../users/first.xml"/>
<util:include-uri name="../users/first.xml"/>
</content>
</page>
</xsp:page>
Thanks in advance for help.
Florent
---------------------------------------------------------------------
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]>