cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <>
Subject Usage of SAXBuffer?
Date Fri, 05 Mar 2004 19:14:45 GMT

I want to write my own transformer which iterates over a element and 
repeates the content several times. For example:

<iterate times="3">
    <p>I'm the content</p>

The content "<p>I'm the content</p>" should be repeated 3 times, like this:

    <p>I'm the content</p>
    <p>I'm the content</p>
    <p>I'm the content</p>

Can I use the class org.apache.cocoon.xml.SAXBuffer to do that?

Can you give me a short example, how to use this class within a transformer?

Thank you.


View raw message