cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conny Krappatsch <>
Subject XInclude?, XSP and namespaces!
Date Thu, 24 Aug 2000 08:38:44 GMT

I wrote a message 8 days ago and it seems as it never reached the list.
Let's see if I remember what I wanted to say:

First a question: 
How do I use the XInclude processor (talking about C1). I have the following
little xml file:

<?xml version="1.0"?>
<?cocoon-process type="xinclude"?>
<?cocoon-format type="text/xml"?>

<test xmlns:xinclude="">
<xinclude xinclude:href="login.xml"/>

after Cocoon processing it looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<test xmlns:xinclude="">
<include xinclude:href="login.xml"/>
<!--Processed by XInclude--></test>
<!-- This page was served in 25 milliseconds by Cocoon 1.7.4 -->

... any ideas what I'm doing wrong? Why is the 'include' element not replaced
by the content of "login.xml"? (There were no error messages and "login.xml"
exists. I'm using Cocoon 1.7.4 recompiled with the latest
'' (1.13), Xerces 1.1.3 and Xalan 1.2.D01.)

now something different:
I patched the XSP processor (more precise "xsp-java.xsl") to pass through 
namespaces. If you are interested in, what would be the best way to contribute?
(Let me say, that it's not that straight forward solution I had in mind,
because there seems to be a problem in namespace handling of Xalan, but it
does it's job.)


Conny Krappatsch           
SMB GmbH                   

View raw message