cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: example cinclude
Date Sat, 13 Mar 2004 17:07:28 GMT
Hi Andreas, if I understand you correctly:

<map:match pattern="test2">
  <map:generate src="test2.xml"/>
  <map:transform src="test2.xsl"/>
  <map:serialize type="xml"/>
</map:match>

<map:match pattern="test1">
  <map:generate src="test1.xml"/>
  <map:transform type="cinlcude"/>
  <map:transform src="test1.xsl"/>
  <map:serialize type="xml"/>
</map:match>

test1.xml:

<root 

xmlns:cinclude="http://apache.org/cocoon/include/1.0">
 ...
 <cinclude:include src="cocoon:/test2/>
</root>

-Alex

--- Andres Taborda <ataborda@saludcolombiaeps.com.co>
wrote:
> 
> Is it posible build file xml (tets1.xml) and
> stylesheets (sheets1.xsl) 
> and in a fragment write an code cinclude for include
> file xml 
> (test2.xml) and this use other stylesheets
> (sheets2.xsl).
> 
> 
> Some users have an example.
> 
> Thanks very much.
> 
> 
> 
> 
> 
> -- 
> Cordialmente,
> 
> Andres Taborda
> Departamento de Sistemas
> http://www.saludcolombiaeps.com.co
> email:ataborda@saludcolombiaeps.com.co
> SaludColombia E.P.S. - Una Sola Familia
> Calle 5C # 43-05 Tequendama
> Telefono : 57 (002) 551 04 89 - 57 (002) 551 04 90
> Ext 119
> Cali - Colombia
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 


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


Mime
View raw message