cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrés Tobelem <tobeli...@hotmail.com>
Subject Re: XML include
Date Wed, 18 Sep 2002 14:57:05 GMT
So you think that is a good idea to do something like this?

 <map:match pattern="home.xml">
          <map:aggregate element="page">
           <map:part src="cocoon:/contenido/general/informacion.xml"/>
           <map:part src="cocoon:/contenido/principal/principal.xml"/>
          </map:aggregate>
            <map:serialize type="xml"/>
  </map:match>




Thank you very much
----- Original Message -----
From: "Ryan Agler" <ryanagler@hotmail.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, September 18, 2002 11:46 AM
Subject: RE: XML include


There are lots of different ways to achieve that effect with
<map:aggregate> and im sure some tag libraries I have yet to explore :)
Or you can do this in an XML file:

<?xml version="1.0"?>
<!DOCTYPE include [<!ENTITY theInc SYSTEM "../docs/blahblah.xml">]>
<doc>
&theInc;
</doc>

-----Original Message-----
From: Andrés Tobelem [mailto:tobelindo@hotmail.com]
Sent: Wednesday, September 18, 2002 8:39 AM
To: cocoon-users@xml.apache.org
Subject: XML include

Hi

How can i include one xml in another.


Tobe

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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