cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <sim...@discoone.com>
Subject RE: Aggregate and root elements
Date Sat, 20 Oct 2001 13:34:33 GMT
At 14.13 20/10/2001 +0200, Luca wrote:
>Simone,
>
>         I think you should add another <msp:transform> stage in your 
> pipeline in
>order to remove the <boxes> tag; just a simple template element like this:
>
>         <xsl:template match="boxes">
>                 <xsl:copy-of select="*|@*"/>
>         </xsl:template>
>
>         will do.

You are right .... this could be a solution, anyway there is a 
"stripRootElement" in the map:aggregate, as is visible in this excerpt from 
the cocoon log :


DEBUG   (2001-10-20) 15:21.08:940   [cocoon  ] 
(/cocoon/calcio/story105.source) Thread-18/AbstractSitemap: Substitute 
evaluated value for 1 as calcio
DEBUG   (2001-10-20) 15:21.08:940   [cocoon  ] 
(/cocoon/calcio/story105.source) Thread-18/ContentAggregator: 
ContentAggregator: part uri='cocoon:/calcio.nav' element='' ns='' 
stripRootElement='' prefix=''

I think it's not been documented yet, and unfortunately I have not found it 
in the source :(( I tried stripRootElement="yes", stripRootElement="true" 
etc ... but nothing seem to work.

Ciao e grazie

Simone Gianni


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