keith d. zimmerman wrote:

David Leangen wrote:

<map:match pattern="index.html">
  <map:aggregate>
    <map:for-each src="cocoon:/componentsList.xml">
      <map:part src="{componentname}.html"/>
    </map:for-each>
  </map:aggregate>
  <map:transform src="doWhatEverPostProcessing.xsl"/>
  <map:serialize type="html"/>
</map:match>


ok, so i'm following this thread, as it answers a question i asked (and got no replies - wtf?) a few days ago.

Sometimes, messages get missed. Best thing to do is as you did - repost. Remember, we're all volunteers here.


Now, the part I was missing was the <map:for-each> concept. Is there any kind of documentation on this? I searched and searched on the cocoon site, and I see nothing. The wiki comes up dry. So, where are the docs?

Reason for no docs on <map:for-each> is because it doesn't exist!


The way to do what you want is using either a cinclude or xinclude transformer. Look at the docs for them - what you do is:

some xml source -> transform to c or x include syntax -> c or x include transformer -> transform for presentation

If you want to know more, just ask.

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to