cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject RE: Returning XML from another class
Date Wed, 28 Feb 2001 10:25:21 GMT
> Hello. I´ve tried what you suggested and I got no output. I´ve also tried to
> output a DOM directly this way
>
> <xsp:structure>
>    <xsp:include>MyObject</xsp:include>
>  </xsp:structure>
>
>  <page>
>   <xsp:expr>MyObject.getDOM()</xsp:expr>
>  </page>


The idea behind it was to write just

  <xsp:expr>MyObject</xsp:expr>

I don't know if this works for C1 already.
Otherwise you can try:

  <xsp:logic>xspCurrentNode.appendChild(MyObject.toDOM());</xsp:logic>

Hope this helps...
--
Torsten


Mime
View raw message