cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Kachanov" <a...@intadev.com>
Subject Xinclude to include
Date Thu, 17 Jan 2002 11:42:16 GMT

could anyone give me a simple example on how to include xml content from
http://slashdot.org/slashdot.xml

into my xml file without using sitemap (aggregate or whatever)

cocoon2 documentation tell how to include the local file

<?xml version="1.0" encoding="UTF-8"?>
<page 
  xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>Hello</title>
  <content>
    <para>This is my first Cocoon page!</para>
    <xi:include href="include.xml" parse="text"/>
  </content>
</page>

works perfectly but


<?xml version="1.0" encoding="UTF-8"?>
<page 
  xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>Hello</title>
  <content>
    <para>This is my first Cocoon page!</para>
    <xi:include href="http://slashdot.org/slashdot.xml" parse="text"/>
  </content>
</page>

won't work

Any clues?


with best wishes
Alexander Kachanov

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message