cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: howto call xsp from xsp
Date Fri, 13 Jul 2007 16:38:53 GMT
robf pisze:
> Hi ,

Hi

> At some point in an xsp I want to include the
> resultset from calling another xsp , just like it
> is possible in xslt's:
> <xsl:copy-of select="document('cocoon://someurl)/tagx"/>
> 
> 
> <?xml version="1.0"?>
> <xsp:page xmlns:xsp="http://apache.org/xsp">
> 
>  <xsp:logic>
>    ...
>  </xsp:logic>
> 
>  ...
>  <sometag>
>  <!-- Is there some construct LIKE this ???? -->
>     <xsp:copy select=document('cocoon://someurl)/tagx"/>
>  </sometag>
>  
> 
> </xsp:page>

What about using XInclude transformer: http://cocoon.apache.org/2.1/userdocs/xinclude-transformer.html
?

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

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


Mime
View raw message