cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/generation JXTemplateGenerator.java
Date Sun, 25 Apr 2004 21:29:26 GMT
On Sun, Apr 25, 2004 at 11:15:43PM +0200, Ugo Cei wrote:
> Il giorno 25/apr/04, alle 13:43, Leszek Gawron ha scritto:
> 
> >What about simple <content>#{/docs}</content>?
> 
> Wouldn't this put a <docs> element in the output? I don't need it.
> 
AFAIU docs variable is an array of DOM objects - how can it emit <docs> tag ? 

First I thought you meant a NodeList, but with an array I do not think my
solution would work. Not for that it would emit <docs> but that you do need a
forEach tag to process an array.
	lg

-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message